aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordan <Dan Kennedy>2022-10-20 10:46:17 +0000
committerdan <Dan Kennedy>2022-10-20 10:46:17 +0000
commit9b6a28330b74642e532a814c1aabdcecd4ac026e (patch)
treebc0eb0166062df013fc5adb37d94d9c0d3c0fe6f /src
parent842c5ee84951da8524221e0546d41e4f3a1a18f0 (diff)
downloadsqlite-9b6a28330b74642e532a814c1aabdcecd4ac026e.tar.gz
sqlite-9b6a28330b74642e532a814c1aabdcecd4ac026e.zip
Fix minor problems in test1.c test code.
FossilOrigin-Name: 6e545e2b846795fc67f8a90c04de284861a8a429ac686a7476b41c8ed7aabf75
Diffstat (limited to 'src')
-rw-r--r--src/test1.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test1.c b/src/test1.c
index 6ccd4512f..994e5d262 100644
--- a/src/test1.c
+++ b/src/test1.c
@@ -1852,7 +1852,8 @@ static int SQLITE_TCLAPI test_create_function_v2(
{"utf16le", SQLITE_UTF16LE },
{"utf16be", SQLITE_UTF16BE },
{"any", SQLITE_ANY },
- {"0", 0 }
+ {"0", 0 },
+ {0, 0 }
};
if( objc<5 || (objc%2)==0 ){
@@ -7273,6 +7274,7 @@ static int SQLITE_TCLAPI test_test_control(
{ "SQLITE_TESTCTRL_SORTER_MMAP", SQLITE_TESTCTRL_SORTER_MMAP },
{ "SQLITE_TESTCTRL_IMPOSTER", SQLITE_TESTCTRL_IMPOSTER },
{ "SQLITE_TESTCTRL_INTERNAL_FUNCTIONS", SQLITE_TESTCTRL_INTERNAL_FUNCTIONS},
+ { 0, 0 }
};
int iVerb;
int iFlag;
@@ -7658,6 +7660,8 @@ static int SQLITE_TCLAPI optimization_control(
{ "skip-scan", SQLITE_SkipScan },
{ "push-down", SQLITE_PushDown },
{ "balanced-merge", SQLITE_BalancedMerge },
+ { "propagate-const", SQLITE_PropagateConst },
+ { 0, 0 }
};
if( objc!=4 ){