aboutsummaryrefslogtreecommitdiff
path: root/test/insert.test
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2000-06-07 14:42:26 +0000
committerdrh <drh@noemail.net>2000-06-07 14:42:26 +0000
commit5974a30f1a3c5d738df85add6a8b594f982f0c28 (patch)
tree45a297b3ae6d2d185f8c85b0f9e55e2a7bfd4b9c /test/insert.test
parent670f74f502f3c98e6a063e41cff19e5f4522ab5b (diff)
downloadsqlite-5974a30f1a3c5d738df85add6a8b594f982f0c28.tar.gz
sqlite-5974a30f1a3c5d738df85add6a8b594f982f0c28.zip
:-) (CVS 1697)
FossilOrigin-Name: 5d773b5d4e9c23b81f53afd0cef7bd2300fff329
Diffstat (limited to 'test/insert.test')
-rw-r--r--test/insert.test13
1 files changed, 7 insertions, 6 deletions
diff --git a/test/insert.test b/test/insert.test
index 45a642ed6..25988903d 100644
--- a/test/insert.test
+++ b/test/insert.test
@@ -23,7 +23,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing the INSERT statement.
#
-# $Id: insert.test,v 1.3 2000/06/03 18:06:53 drh Exp $
+# $Id: insert.test,v 1.4 2000/06/07 14:42:27 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -126,12 +126,13 @@ do_test insert-2.3 {
# on a table that has indices. In particular we want to verify
# that the correct default values are inserted into the indices.
#
-execsql {DELETE FROM test2}
-execsql {CREATE INDEX index9 ON test2(f1,f2)}
-execsql {CREATE INDEX indext ON test2(f4,f5)}
-
do_test insert-3.1 {
- execsql {SELECT * from test2}
+ execsql {
+ DELETE FROM test2;
+ CREATE INDEX index9 ON test2(f1,f2);
+ CREATE INDEX indext ON test2(f4,f5);
+ SELECT * from test2;
+ }
} {}
do_test insert-3.2 {
execsql {INSERT INTO test2(f2,f4) VALUES(-3.33,'hum')}