aboutsummaryrefslogtreecommitdiff
path: root/test/insert.test
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2004-11-07 13:01:49 +0000
committerdrh <drh@noemail.net>2004-11-07 13:01:49 +0000
commite497f0051f8f37c1912bac18bced5ba0a64ee273 (patch)
tree20f11b15ac83a622c4c8344c54268af4aa26dc29 /test/insert.test
parentef73ee9a460ef7db11ca08f77473a5e4f389e8d9 (diff)
downloadsqlite-e497f0051f8f37c1912bac18bced5ba0a64ee273.tar.gz
sqlite-e497f0051f8f37c1912bac18bced5ba0a64ee273.zip
Reindex tests added and bugs fixed. (CVS 2075)
FossilOrigin-Name: ad433ec2b6bd34e33dfe119668f38fbb978e889d
Diffstat (limited to 'test/insert.test')
-rw-r--r--test/insert.test12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/insert.test b/test/insert.test
index 65ea6aa3e..24580ca34 100644
--- a/test/insert.test
+++ b/test/insert.test
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing the INSERT statement.
#
-# $Id: insert.test,v 1.19 2004/11/03 16:27:02 drh Exp $
+# $Id: insert.test,v 1.20 2004/11/07 13:01:50 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -160,6 +160,11 @@ do_test insert-3.3 {
do_test insert-3.4 {
execsql {SELECT * FROM test2 WHERE f1=22 AND f2=-4.44}
} {22 -4.44 hi abc-123 wham}
+ifcapable {reindex} {
+ do_test insert-3.5 {
+ execsql REINDEX
+ } {}
+}
integrity_check insert-3.5
# Test of expressions in the VALUES clause
@@ -293,6 +298,11 @@ do_test insert-6.4 {
SELECT * FROM t1 WHERE b=3;
}
} {}
+ifcapable {reindex} {
+ do_test insert-6.7 {
+ execsql REINDEX
+ } {}
+}
integrity_check insert-99.0