Prepared statements now work with CREATE and DROP. All tests pass.
No memory leaks. (CVS 1866) FossilOrigin-Name: ebdb661e0eefe123c422d3c1c371e325bb6cf673
This commit is contained in:
+2
-4
@@ -13,7 +13,7 @@
|
||||
# This file implements tests for miscellanous features that were
|
||||
# left out of other test files.
|
||||
#
|
||||
# $Id: misc4.test,v 1.5 2004/07/24 14:35:59 drh Exp $
|
||||
# $Id: misc4.test,v 1.6 2004/07/24 17:38:30 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@@ -64,11 +64,9 @@ do_test misc4-1.6 {
|
||||
# those statements are executed, try to use the tables, indices, views,
|
||||
# are triggers that were created.
|
||||
#
|
||||
if 0 {
|
||||
do_test misc4-2.1 {
|
||||
set stmt [sqlite3_prepare $DB {CREATE TABLE t3(x);} -1 TAIL]
|
||||
catchsql {
|
||||
pragma vdbe_trace=on;
|
||||
INSERT INTO t3 VALUES(1);
|
||||
}
|
||||
} {1 {no such table: t3}}
|
||||
@@ -83,6 +81,6 @@ do_test misc4-2.4 {
|
||||
INSERT INTO t3 VALUES(1);
|
||||
}
|
||||
} {0 {}}
|
||||
}
|
||||
|
||||
|
||||
finish_test
|
||||
|
||||
Reference in New Issue
Block a user