mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Enable SQLite shared cache mode.
This allows all threads accessing the same database to share sqlite objects. This, for example, fixes the issue with several threads simultaneously writing to the same database file. See https://www.sqlite.org/sharedcache.html Addresses BIT-1325
This commit is contained in:
parent
697b59cdc8
commit
4968a5c654
4 changed files with 112 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
|||
1|-42|SSH::LOG|21|123|10.0.0.0/24|1.2.3.4|3.14|1469128060.6589|100.0|hurz|2,4,1,3|BB,AA,CC|(empty)|10,20,30|(empty)|SSH::foo
|
||||
{
|
||||
if (0 < SSH::i)
|
||||
return (Foo);
|
||||
else
|
||||
return (Bar);
|
||||
|
||||
}
|
||||
1|-42|SSH::LOG|21|123|10.0.0.0/24|1.2.3.4|3.14|1469128060.6589|100.0|hurz|2,4,1,3|BB,AA,CC|(empty)|10,20,30|(empty)|SSH::foo
|
||||
{
|
||||
if (0 < SSH::i)
|
||||
return (Foo);
|
||||
else
|
||||
return (Bar);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue