aboutsummaryrefslogtreecommitdiff
path: root/ext/rtree/rtreeA.test
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rtree/rtreeA.test')
-rw-r--r--ext/rtree/rtreeA.test14
1 files changed, 13 insertions, 1 deletions
diff --git a/ext/rtree/rtreeA.test b/ext/rtree/rtreeA.test
index 936b8fc9c..d456bf6e2 100644
--- a/ext/rtree/rtreeA.test
+++ b/ext/rtree/rtreeA.test
@@ -184,7 +184,6 @@ populate_t1
do_test rtreeA-4.1.0 {
set_entry_count t1 1 4000
} {4000}
-breakpoint
do_corruption_tests rtreeA-4.1 {
1 "SELECT * FROM t1"
2 "SELECT * FROM t1 WHERE rowid=5"
@@ -204,4 +203,17 @@ do_corruption_tests rtreeA-5.1 {
2 "DELETE FROM t1"
}
+#-------------------------------------------------------------------------
+# Add some bad entries to the %_parent table.
+#
+create_t1
+populate_t1
+do_execsql_test rtreeA-6.1.0 {
+ UPDATE t1_parent set parentnode = parentnode+1
+} {}
+do_corruption_tests rtreeA-6.1 {
+ 1 "DELETE FROM t1 WHERE rowid = 5"
+}
+
+
finish_test