Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(748)

Unified Diff: third_party/sqlite/src/test/autoindex1.test

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/attach.test ('k') | third_party/sqlite/src/test/autoindex2.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/autoindex1.test
diff --git a/third_party/sqlite/src/test/autoindex1.test b/third_party/sqlite/src/test/autoindex1.test
index bcde5bc2e74f8330a0541611cb4caa31b6515c60..e2b8b1529e4d8c890fb36bf03fa50005a241b5e3 100644
--- a/third_party/sqlite/src/test/autoindex1.test
+++ b/third_party/sqlite/src/test/autoindex1.test
@@ -11,6 +11,9 @@
# This file implements regression tests for SQLite library. The
# focus of this script is testing automatic index creation logic.
#
+# EVIDENCE-OF: R-34271-33106 PRAGMA automatic_index; PRAGMA
+# automatic_index = boolean; Query, set, or clear the automatic indexing
+# capability.
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -509,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
« no previous file with comments | « third_party/sqlite/src/test/attach.test ('k') | third_party/sqlite/src/test/autoindex2.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698