mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Disable call to sqlite3_enable_shared_cache under ThreadSanitizer
See https://sqlite.org/forum/forumpost/54424d80ee for details.
This commit is contained in:
parent
f1f7ab5870
commit
a2ab1b1484
2 changed files with 4 additions and 0 deletions
|
@ -122,7 +122,9 @@ bool SQLite::DoInit(const WriterInfo& info, int arg_num_fields,
|
|||
|
||||
// Allow connections to same DB to use single data/schema cache. Also
|
||||
// allows simultaneous writes to one file.
|
||||
#ifndef ZEEK_TSAN
|
||||
sqlite3_enable_shared_cache(1);
|
||||
#endif
|
||||
|
||||
num_fields = arg_num_fields;
|
||||
fields = arg_fields;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue