mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Merge remote-tracking branch 'origin/topic/johanna/bit-1325'
BIT-1325 #merged * origin/topic/johanna/bit-1325: Enable SQLite shared cache mode.
This commit is contained in:
commit
cc67acdcfe
4 changed files with 114 additions and 0 deletions
|
@ -120,6 +120,10 @@ bool SQLite::DoInit(const WriterInfo& info, int arg_num_fields,
|
|||
return false;
|
||||
}
|
||||
|
||||
// Allow connections to same DB to use single data/schema cache. Also
|
||||
// allows simultaneous writes to one file.
|
||||
sqlite3_enable_shared_cache(1);
|
||||
|
||||
num_fields = arg_num_fields;
|
||||
fields = arg_fields;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue