Commit 6009a55e authored by ueli heuer's avatar ueli heuer 👾
Browse files

remove delayed insert, cause of the innodb doesn't like that :(

parent 66a07ec3
......@@ -81,15 +81,11 @@ use lib "$FindBin::RealBin/../lib";
use DVG_config;
use DVG_tool;
use POSIX;
use RRDs;
use Unix::Syslog qw(:macros);
use Getopt::Long;
sub device_datafile($);
sub radacct($$$);
sub update_rrd($@);
......@@ -274,9 +270,9 @@ sub radacct($$$) # {{{
($in,$out) = $get_traffic_h->fetchrow;
if (defined($in) && defined($out)) {
"insert delayed into
values (null, '%d', '%d', '%s', '$in', '$out')",
VALUES (null, '%d', '%d', '%s', '$in', '$out')",
$bbcs_id,7,$now)); # 7 -> bbcs_module
Unix::Syslog::syslog (LOG_DEBUG,
"D_CB: insert into dvg_device_traffic " .
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment