diff options
author | drh <drh@noemail.net> | 2011-08-12 01:51:45 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2011-08-12 01:51:45 +0000 |
commit | faacf17cc1a1d6b062d63a27fca5fa5a87bf3bb9 (patch) | |
tree | 1f8b790ae295f34d4700ef6f0c2116bbdbdac402 /src/test_config.c | |
parent | 90315a24179a23538b9a906a066d484cd782e3d8 (diff) | |
download | sqlite-faacf17cc1a1d6b062d63a27fca5fa5a87bf3bb9.tar.gz sqlite-faacf17cc1a1d6b062d63a27fca5fa5a87bf3bb9.zip |
Begin a branch that experimentally replaces sqlite_stat2 with a new table
called sqlite_stat3 that will hopefully facilitate better query
planning decisions.
FossilOrigin-Name: 52e1d7e8ddd4bb5ef3a9d00fd2d719a8a784f807
Diffstat (limited to 'src/test_config.c')
-rw-r--r-- | src/test_config.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test_config.c b/src/test_config.c index e8d6f88f6..9a3f3da73 100644 --- a/src/test_config.c +++ b/src/test_config.c @@ -418,6 +418,12 @@ Tcl_SetVar2(interp, "sqlite_options", "long_double", Tcl_SetVar2(interp, "sqlite_options", "stat2", "0", TCL_GLOBAL_ONLY); #endif +#ifdef SQLITE_ENABLE_STAT3 + Tcl_SetVar2(interp, "sqlite_options", "stat3", "1", TCL_GLOBAL_ONLY); +#else + Tcl_SetVar2(interp, "sqlite_options", "stat3", "0", TCL_GLOBAL_ONLY); +#endif + #if !defined(SQLITE_ENABLE_LOCKING_STYLE) # if defined(__APPLE__) # define SQLITE_ENABLE_LOCKING_STYLE 1 |