aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-04-15 07:34:25 +0000
committerdrh <drh@noemail.net>2015-04-15 07:34:25 +0000
commit29031837c19e371ae6056e2dc3efb03f3f7895b4 (patch)
treef567988b4fde7d0a714218aadb3c39be56dd2cb5 /test
parent1b6789697d13ab232b99f8064b0d106c6b5184a0 (diff)
downloadsqlite-29031837c19e371ae6056e2dc3efb03f3f7895b4.tar.gz
sqlite-29031837c19e371ae6056e2dc3efb03f3f7895b4.zip
Remove an incorrect ALWAYS() from the automatic index generator.
FossilOrigin-Name: eeb4bd06bf69e411736cc6077d1d64af6bd8fb09
Diffstat (limited to 'test')
-rw-r--r--test/autoindex1.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/autoindex1.test b/test/autoindex1.test
index c5ce42c1d..e2b8b1529 100644
--- a/test/autoindex1.test
+++ b/test/autoindex1.test
@@ -512,5 +512,12 @@ do_execsql_test autoindex1-901 {
WHERE t1.x IN (1,2,3);
} {/USING AUTOMATIC COVERING INDEX/}
+# 2015-04-15: A NULL CollSeq pointer in automatic index creation.
+#
+do_execsql_test autoindex1-920 {
+ CREATE TABLE t920(x);
+ INSERT INTO t920 VALUES(3),(4),(5);
+ SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
+} {5 0 9 5 0 9 5 0 9}
finish_test