diff options
author | drh <drh@noemail.net> | 2015-11-19 19:40:40 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-11-19 19:40:40 +0000 |
commit | 769dc6e2a22b3104583ad357b01f31a22e146a5c (patch) | |
tree | f88612242437ec891ead4c010c94a20b1d4587ee /src/main.c | |
parent | 98a0e0083f33ae62a8104be5c074daa123cffc84 (diff) | |
parent | 18f8e73453be7c7a2394824739e890a4d4e8cad0 (diff) | |
download | sqlite-769dc6e2a22b3104583ad357b01f31a22e146a5c.tar.gz sqlite-769dc6e2a22b3104583ad357b01f31a22e146a5c.zip |
Merge the latest enhancements from trunk.
FossilOrigin-Name: 7d6cfc79e7e5534ebacd980479917bc528a638f7
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 9d0b47874..f7bab9b0e 100644 --- a/src/main.c +++ b/src/main.c @@ -220,6 +220,12 @@ int sqlite3_initialize(void){ if( sqlite3GlobalConfig.isInit==0 && sqlite3GlobalConfig.inProgress==0 ){ FuncDefHash *pHash = &GLOBAL(FuncDefHash, sqlite3GlobalFunctions); sqlite3GlobalConfig.inProgress = 1; +#ifdef SQLITE_ENABLE_SQLLOG + { + extern void sqlite3_init_sqllog(void); + sqlite3_init_sqllog(); + } +#endif memset(pHash, 0, sizeof(sqlite3GlobalFunctions)); sqlite3RegisterGlobalFunctions(); if( sqlite3GlobalConfig.isPCacheInit==0 ){ |