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

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

Issue 949043002: Add //third_party/sqlite to dirs_to_snapshot, remove net_sql.patch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/hook.test ('k') | third_party/sqlite/src/test/in4.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/in.test
diff --git a/third_party/sqlite/src/test/in.test b/third_party/sqlite/src/test/in.test
index 2c38a0f4caab57517f5ef3e287d9bd1a1d3bc1de..515e598c12e3edbba004967eb46aa7bcc286a840 100644
--- a/third_party/sqlite/src/test/in.test
+++ b/third_party/sqlite/src/test/in.test
@@ -258,17 +258,29 @@ do_test in-7.5 {
SELECT a FROM t1 WHERE a IN (5) AND b NOT IN ();
}
} {5}
-do_test in-7.6 {
+do_test in-7.6.1 {
execsql {
SELECT a FROM ta WHERE a IN ();
}
} {}
+do_test in-7.6.2 {
+ db status step
+} {0}
do_test in-7.7 {
execsql {
SELECT a FROM ta WHERE a NOT IN ();
}
} {1 2 3 4 6 8 10}
+do_test in-7.8.1 {
+ execsql {
+ SELECT * FROM ta LEFT JOIN tb ON (ta.b=tb.b) WHERE ta.a IN ();
+ }
+} {}
+do_test in-7.8.2 {
+ db status step
+} {0}
+
do_test in-8.1 {
execsql {
SELECT b FROM t1 WHERE a IN ('hello','there')
@@ -320,7 +332,7 @@ do_test in-10.2 {
catchsql {
INSERT INTO t5 VALUES(4);
}
-} {1 {constraint failed}}
+} {1 {CHECK constraint failed: t5}}
# Ticket #1821
#
@@ -431,6 +443,7 @@ do_test in-12.9 {
} {1 {SELECTs to the left and right of INTERSECT do not have the same number of result columns}}
}
+ifcapable compound {
do_test in-12.10 {
catchsql {
SELECT * FROM t2 WHERE a IN (
@@ -459,6 +472,7 @@ do_test in-12.13 {
);
}
} {1 {only a single result allowed for a SELECT that is part of an expression}}
+}; #ifcapable compound
#------------------------------------------------------------------------
« no previous file with comments | « third_party/sqlite/src/test/hook.test ('k') | third_party/sqlite/src/test/in4.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698