start adding a different text for empty records for the sqlite writer.

Sadly there also seems to be another deadlock issue which I am currently
not really able to figure out - on shutdown sometimes (too often) the main
thread + all sqlite threads wait for semaphores or mutexes.
This commit is contained in:
Bernhard Amann 2013-01-16 18:13:39 -08:00
parent 8f71186bf7
commit 0fcc3db9a0
10 changed files with 33 additions and 7 deletions

View file

@ -86,7 +86,6 @@ event bro_init()
};
outfile = open("../out");
# first read in the old stuff into the table...
Input::add_event([$source="../conn", $name="conn", $fields=Conn::Info, $ev=line, $want_record=T, $reader=Input::READER_SQLITE, $config=config_strings]);
}

View file

@ -36,7 +36,6 @@ event bro_init()
};
outfile = open("../out");
# first read in the old stuff into the table...
Input::add_event([$source="../port", $name="port", $fields=Val, $ev=line, $reader=Input::READER_SQLITE, $want_record=F, $config=config_strings]);
}