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

Unified Diff: third_party/sqlite/src/test/resolver01.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/releasetest.tcl ('k') | third_party/sqlite/src/test/rollback2.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/resolver01.test
diff --git a/third_party/sqlite/src/test/resolver01.test b/third_party/sqlite/src/test/resolver01.test
index 7d95a2132a3240c791eeac125a5b4619d04de264..59bb3c021a7c25f5547e92924ffee6cb2860e09b 100644
--- a/third_party/sqlite/src/test/resolver01.test
+++ b/third_party/sqlite/src/test/resolver01.test
@@ -11,10 +11,12 @@
#
# This file tests features of the name resolver (the component that
# figures out what identifiers in the SQL statement refer to) that
-# were fixed by ticket [2500cdb9be]
+# were fixed by ticket [2500cdb9be].
#
# See also tickets [1c69be2daf] and [f617ea3125] from 2013-08-14.
#
+# Also a fuzzer-discovered problem on 2015-04-23.
+#
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -201,6 +203,12 @@ do_execsql_test resolver01-6.3 {
GROUP BY lower(name);
} {1 {} 1 {}}
+do_execsql_test resolver01-7.1 {
+ SELECT 2 AS x WHERE (SELECT x AS y WHERE 3>y);
+} {2}
+do_execsql_test resolver01-7.2 {
+ SELECT 2 AS x WHERE (SELECT x AS y WHERE 1>y);
+} {}
« no previous file with comments | « third_party/sqlite/src/test/releasetest.tcl ('k') | third_party/sqlite/src/test/rollback2.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698