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

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

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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/select4.test ('k') | third_party/sqlite/src/test/selectA.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/select7.test
diff --git a/third_party/sqlite/src/test/select7.test b/third_party/sqlite/src/test/select7.test
index 9ed53577481547672e4d77d89e98de23f7e3a1b2..d705ebfaf4e021fab7338d06abb2f5fbbcec390c 100644
--- a/third_party/sqlite/src/test/select7.test
+++ b/third_party/sqlite/src/test/select7.test
@@ -114,26 +114,22 @@ ifcapable {subquery && compound} {
CREATE TABLE t2(a,b);
SELECT 5 IN (SELECT a,b FROM t2);
}
- } [list 1 \
- {only a single result allowed for a SELECT that is part of an expression}]
+ } {1 {sub-select returns 2 columns - expected 1}}
do_test select7-5.2 {
catchsql {
SELECT 5 IN (SELECT * FROM t2);
}
- } [list 1 \
- {only a single result allowed for a SELECT that is part of an expression}]
+ } {1 {sub-select returns 2 columns - expected 1}}
do_test select7-5.3 {
catchsql {
SELECT 5 IN (SELECT a,b FROM t2 UNION SELECT b,a FROM t2);
}
- } [list 1 \
- {only a single result allowed for a SELECT that is part of an expression}]
+ } {1 {sub-select returns 2 columns - expected 1}}
do_test select7-5.4 {
catchsql {
SELECT 5 IN (SELECT * FROM t2 UNION SELECT * FROM t2);
}
- } [list 1 \
- {only a single result allowed for a SELECT that is part of an expression}]
+ } {1 {sub-select returns 2 columns - expected 1}}
}
# Verify that an error occurs if you have too many terms on a
@@ -220,5 +216,3 @@ do_catchsql_test 8.2 {
finish_test
-
-
« no previous file with comments | « third_party/sqlite/src/test/select4.test ('k') | third_party/sqlite/src/test/selectA.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698