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

Unified Diff: third_party/sqlite/src/test/eval.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/errmsg.test ('k') | third_party/sqlite/src/test/exclusive.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
#
« no previous file with comments | « third_party/sqlite/src/test/errmsg.test ('k') | third_party/sqlite/src/test/exclusive.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698