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

Unified Diff: third_party/sqlite/src/test/triggerA.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/trigger9.test ('k') | third_party/sqlite/src/test/triggerC.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/triggerA.test
diff --git a/third_party/sqlite/src/test/triggerA.test b/third_party/sqlite/src/test/triggerA.test
index 9f93db5c999fd2333f5ce958be7dcf2d561c908c..821e2d90e477538f8bb7a56fe06dd1ad3fdd9905 100644
--- a/third_party/sqlite/src/test/triggerA.test
+++ b/third_party/sqlite/src/test/triggerA.test
@@ -192,6 +192,13 @@ do_test triggerA-2.10 {
SELECT * FROM result4 ORDER BY a;
}
} {3 305 3 9900305 4 404 4 9900404 5 504 5 9900504}
+do_test triggerA-2.11 {
+ db eval {
+ DELETE FROM result4;
+ UPDATE v5 SET b = main.v5.b+9900000 WHERE main.v5.x BETWEEN 3 AND 5;
+ SELECT * FROM result4 ORDER BY a;
+ }
+} {3 305 3 9900305 4 404 4 9900404 5 504 5 9900504}
# Only run the reamining tests if memory debugging is turned on.
#
@@ -205,16 +212,16 @@ source $testdir/malloc_common.tcl
# Save a copy of the current database configuration.
#
db close
-file delete -force test.db-triggerA
-file copy test.db test.db-triggerA
+forcedelete test.db-triggerA
+copy_file test.db test.db-triggerA
sqlite3 db test.db
# Run malloc tests on the INSTEAD OF trigger firing.
#
do_malloc_test triggerA-3 -tclprep {
db close
- file delete -force test.db test.db-journal
- file copy -force test.db-triggerA test.db
+ forcedelete test.db test.db-journal
+ forcecopy test.db-triggerA test.db
sqlite3 db test.db
sqlite3_extended_result_codes db 1
db eval {SELECT * FROM v5; -- warm up the cache}
@@ -225,6 +232,6 @@ do_malloc_test triggerA-3 -tclprep {
# Clean up the saved database copy.
#
-file delete -force test.db-triggerA
+forcedelete test.db-triggerA
finish_test
« no previous file with comments | « third_party/sqlite/src/test/trigger9.test ('k') | third_party/sqlite/src/test/triggerC.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698