1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Move the query flattener turn-off from a pragma to an sqlite3_test_control()

call.  Make provisions (not yet implemented) to turn off other optimizers
using the same call.

FossilOrigin-Name: 4a97c623f4e190134de4b2ca406e311034a74797
This commit is contained in:
drh
2009-12-22 23:52:32 +00:00
parent 3540c1f7b8
commit 07096f68ae
8 changed files with 75 additions and 50 deletions

View File

@@ -185,9 +185,6 @@ static int flagPragma(Parse *pParse, const char *zLeft, const char *zRight){
{ "writable_schema", SQLITE_WriteSchema|SQLITE_RecoveryMode },
{ "omit_readlock", SQLITE_NoReadlock },
/* For testing purposes only */
{ "omit_flattener", SQLITE_OmitFlattener },
/* TODO: Maybe it shouldn't be possible to change the ReadUncommitted
** flag if there are any active statements. */
{ "read_uncommitted", SQLITE_ReadUncommitted },