diff options
| author | levlam <levlam@telegram.org> | 2021-09-23 11:20:42 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2021-09-23 11:20:42 +0300 |
| commit | 23f585caf0ffde6081af6ffaabf01ff5e864dd64 (patch) | |
| tree | 502895738decc938666ee8712338849d84d846fc /sqlite | |
| parent | 626caad19aa07fa4492a7f7b23828f487f54c969 (diff) | |
Unify set SQLite PRAGMAs.
Diffstat (limited to 'sqlite')
| -rw-r--r-- | sqlite/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sqlite/CMakeLists.txt b/sqlite/CMakeLists.txt index 091b00cde..b42ca7255 100644 --- a/sqlite/CMakeLists.txt +++ b/sqlite/CMakeLists.txt @@ -33,6 +33,9 @@ endif() target_compile_definitions(tdsqlite PRIVATE -DSQLITE_DEFAULT_MEMSTATUS=0 + -DSQLITE_DEFAULT_SYNCHRONOUS=1 + -DSQLITE_DEFAULT_RECURSIVE_TRIGGERS=1 + -DSQLITE_TEMP_STORE=2 -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_PROGRESS_CALLBACK |
