1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +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

@@ -1,5 +1,5 @@
C Always\sparse\sthe\sschema\s*before*\srunning\s"PRAGMA\scache_size",\snot\safter.
D 2015-11-12T22:15:18.738
C Update\sthe\sSQLLOG\slogic\sso\sthat\sto\sbuilds\sin\saccordance\swith\sthe\sinstructions\nin\sthe\sheader\scomment.
D 2015-11-12T23:48:08.393
F Makefile.in d828db6afa6c1fa060d01e33e4674408df1942a1
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc e928e68168df69b353300ac87c10105206653a03
@@ -304,7 +304,7 @@ F src/insert.c 419a947f27ce2da18eebf440a5aa80cc825defae
F src/journal.c b4124532212b6952f42eb2c12fa3c25701d8ba8d
F src/legacy.c ba1863ea58c4c840335a84ec276fc2b25e22bc4e
F src/loadext.c 18586e45a215325f15096821e9c082035d4fb810
F src/main.c bf26fbebab82069cd7d15c41a58110be8075c87e
F src/main.c 91feb5c7e393ad8f0c434754114a3493c3b0617a
F src/malloc.c 337bbe9c7d436ef9b7d06b5dd10bbfc8f3025972
F src/mem0.c 6a55ebe57c46ca1a7d98da93aaa07f99f1059645
F src/mem1.c 6919bcf12f221868ea066eec27e579fed95ce98b
@@ -344,7 +344,7 @@ F src/shell.c acefb4593a9bf0338a757c968f1f1bb05690d830
F src/sqlite.h.in fa62718f73553f06b2f2e362fd09ccb4e1cbb626
F src/sqlite3.rc 992c9f5fb8285ae285d6be28240a7e8d3a7f2bad
F src/sqlite3ext.h 4b66e3e3435da4b4c8c83696d0349f0c503b3924
F src/sqliteInt.h ebd88d3a2c03440f48145a47df51f0a502bbf24e
F src/sqliteInt.h 1b8c1b37f0bd2cec784c9f257e449f72096b37f8
F src/sqliteLimit.h 216557999cb45f2e3578ed53ebefe228d779cb46
F src/status.c 70912d7be68e9e2dbc4010c93d344af61d4c59ba
F src/table.c 51b46b2a62d1b3a959633d593b89bab5e2c9155e
@@ -1403,7 +1403,7 @@ F tool/vdbe_profile.tcl 246d0da094856d72d2c12efec03250d71639d19f
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh 48bd54594752d5be3337f12c72f28d2080cb630b
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
P 9d532fb50d310df629ea65193f21dc9b3594ff5f
R c87ef7443677f3561dc0db07fe8b69b1
P 12e7d9ec023db4dd837f76006c87defc5a3e9388
R 47faba2f3865e3275bebdbc040497572
U drh
Z df246221f99363b8ea6311e003f21bb5
Z 57e0c9a039c091174e5c94cdc0c6298e

View File

@@ -1 +1 @@
12e7d9ec023db4dd837f76006c87defc5a3e9388
ee6f2feec7d777a969ddba6dc00fb571d64e57f8

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));

View File

@@ -527,15 +527,6 @@
# define SQLITE_DEFAULT_PCACHE_INITSZ 100
#endif
/*
** If SQLITE_INIT_SQLLOG is defined, then SQLITE_ENABLE_SQLLOG is
** automatically defined as well.
*/
#if defined(SQLITE_INIT_SQLLOG) && !defined(SQLITE_ENABLE_SQLLOG)
# define SQLITE_ENABLE_SQLLOG 1
#endif
/*
** GCC does not define the offsetof() macro so we'll have to do it
** ourselves.