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

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

Issue 5626002: Update sqlite to 3.7.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/third_party/sqlite/src
Patch Set: Remove misc change. Created 10 years 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/index3.test ('k') | third_party/sqlite/src/test/init.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/indexedby.test
diff --git a/third_party/sqlite/src/test/indexedby.test b/third_party/sqlite/src/test/indexedby.test
index 62a2a5fd43413f856dc8e12a219da0200e218bd8..70ab9f9b21eb0b80b20541e7ceacd26cd9ee1182 100644
--- a/third_party/sqlite/src/test/indexedby.test
+++ b/third_party/sqlite/src/test/indexedby.test
@@ -123,6 +123,16 @@ do_test indexedby-4.1 {
do_test indexedby-4.2 {
EQP { SELECT * FROM t1 INDEXED BY i1, t2 WHERE a = c }
} {0 1 {TABLE t2} 1 0 {TABLE t1 WITH INDEX i1}}
+do_test indexedby-4.3 {
+ catchsql {
+ SELECT * FROM t1 INDEXED BY i1, t2 INDEXED BY i3 WHERE a=c
+ }
+} {1 {cannot use index: i1}}
+do_test indexedby-4.4 {
+ catchsql {
+ SELECT * FROM t2 INDEXED BY i3, t1 INDEXED BY i1 WHERE a=c
+ }
+} {1 {cannot use index: i3}}
# Test embedding an INDEXED BY in a CREATE VIEW statement. This block
# also tests that nothing bad happens if an index refered to by
« no previous file with comments | « third_party/sqlite/src/test/index3.test ('k') | third_party/sqlite/src/test/init.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698