diff options
author | dan <dan@noemail.net> | 2011-08-12 15:02:00 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2011-08-12 15:02:00 +0000 |
commit | 689ab897817c88f4ca42a8c591ef2f57b59bd94a (patch) | |
tree | ba857643e68ca0ab3faf5f475ff3fd862b44af60 /src/test_config.c | |
parent | 262765a74ea2e761a0a5d0723494869509b983ef (diff) | |
download | sqlite-689ab897817c88f4ca42a8c591ef2f57b59bd94a.tar.gz sqlite-689ab897817c88f4ca42a8c591ef2f57b59bd94a.zip |
Add the SQLITE_OMIT_MERGE_SORT pre-processor directive. To omit the code in vdbesort.c.
FossilOrigin-Name: 4ced2394b10d0a4f86422ff893bcdf3cf32591e3
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..5b0ffaa69 100644 --- a/src/test_config.c +++ b/src/test_config.c @@ -363,6 +363,12 @@ Tcl_SetVar2(interp, "sqlite_options", "long_double", Tcl_SetVar2(interp, "sqlite_options", "memorymanage", "0", TCL_GLOBAL_ONLY); #endif +#ifdef SQLITE_OMIT_MERGE_SORT + Tcl_SetVar2(interp, "sqlite_options", "mergesort", "0", TCL_GLOBAL_ONLY); +#else + Tcl_SetVar2(interp, "sqlite_options", "mergesort", "1", TCL_GLOBAL_ONLY); +#endif + #ifdef SQLITE_OMIT_OR_OPTIMIZATION Tcl_SetVar2(interp, "sqlite_options", "or_opt", "0", TCL_GLOBAL_ONLY); #else |