summaryrefslogtreecommitdiff
path: root/test/select1.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/select1.test')
-rw-r--r--test/select1.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/select1.test b/test/select1.test
index 73b0e40..852b52e 100644
--- a/test/select1.test
+++ b/test/select1.test
@@ -1066,5 +1066,11 @@ if {[db one {PRAGMA locking_mode}]=="normal"} {
execsql { SELECT 2 IN (SELECT a FROM t1) }
} {1}
}
+
+# Crash bug reported on the mailing list on 2012-02-23
+#
+do_test select1-16.1 {
+ catchsql {SELECT 1 FROM (SELECT *)}
+} {1 {no tables specified}}
finish_test