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

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

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. 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
Index: third_party/sqlite/src/test/eval.test
diff --git a/third_party/sqlite/src/test/eval.test b/third_party/sqlite/src/test/eval.test
index 912dc8215bdf6ddf8476399c4f5b03b9da9c9c69..360d158f3c8a4b0bdbea627967d22a76b8c4b0fc 100644
--- a/third_party/sqlite/src/test/eval.test
+++ b/third_party/sqlite/src/test/eval.test
@@ -58,6 +58,18 @@ do_test eval-2.2 {
SELECT * FROM t2
}
} {}
+do_test eval-2.3 {
+ execsql {
+ INSERT INTO t2 SELECT x, x+1 FROM t1 WHERE x<5;
+ SELECT x, test_eval('DELETE FROM t2 WHERE x='||x), y FROM t2
+ ORDER BY rowid DESC;
+ }
+} {4 {} {} 3 {} {} 2 {} {} 1 {} {}}
+do_test eval-2.4 {
+ execsql {
+ SELECT * FROM t2
+ }
+} {}
# Modify a row while it is being read.
#

Powered by Google App Engine
This is Rietveld 408576698