1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Update the SQLLOG logic so that to builds in accordance with the instructions

in the header comment.

FossilOrigin-Name: ee6f2feec7d777a969ddba6dc00fb571d64e57f8
This commit is contained in:
drh
2015-11-12 23:48:08 +00:00
parent 8d4482da96
commit 5e3cefe3d0
4 changed files with 11 additions and 20 deletions

View File

@@ -220,10 +220,10 @@ int sqlite3_initialize(void){
if( sqlite3GlobalConfig.isInit==0 && sqlite3GlobalConfig.inProgress==0 ){
FuncDefHash *pHash = &GLOBAL(FuncDefHash, sqlite3GlobalFunctions);
sqlite3GlobalConfig.inProgress = 1;
#ifdef SQLITE_INIT_SQLLOG
#ifdef SQLITE_ENABLE_SQLLOG
{
extern void SQLITE_INIT_SQLLOG(void);
SQLITE_INIT_SQLLOG();
extern void sqlite3_init_sqllog(void);
sqlite3_init_sqllog();
}
#endif
memset(pHash, 0, sizeof(sqlite3GlobalFunctions));