Add test cases for commit [6c6fb1c6].

FossilOrigin-Name: 3961995cb56b43f1753c53fc869edf336f1c17ec994d67dc74e44e8e02493894
This commit is contained in:
dan
2019-01-02 15:27:27 +00:00
parent ee751fab4c
commit 992e927281
3 changed files with 24 additions and 8 deletions
+16
View File
@@ -68,5 +68,21 @@ do_catchsql_test vacuum-into-310 {
do_catchsql_test vacuum-into-320 {
VACUUM INTO x;
} {1 {no such column: x}}
} {1 {no such column: nosuchcol}}
do_catchsql_test vacuum-into-330 {
VACUUM INTO t1.nosuchcol;
} {1 {no such column: t1.nosuchcol}}
forcedelete test.db2
db func target target
proc target {} { return "test.db2" }
do_test vacuum-into-410 {
execsql { VACUUM INTO target() }
file exists test.db2
} 1
do_catchsql_test vacuum-into-420 {
VACUUM INTO target2()
} {1 {no such function: target2}}
finish_test