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

Unified Diff: third_party/sqlite/src/test/tkt-c48d99d690.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/tkt-bdc6bbbb38.test ('k') | third_party/sqlite/src/test/tkt-cbd054fa6b.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/tkt-c48d99d690.test
diff --git a/third_party/sqlite/src/test/tkt-c48d99d690.test b/third_party/sqlite/src/test/tkt-c48d99d690.test
new file mode 100644
index 0000000000000000000000000000000000000000..6d1b9dbe619f521937885923941aae74b1fc1da0
--- /dev/null
+++ b/third_party/sqlite/src/test/tkt-c48d99d690.test
@@ -0,0 +1,25 @@
+
+set testdir [file dirname $argv0]
+source $testdir/tester.tcl
+
+set ::testprefix tkt-c48d99d690
+
+do_test 1.0 {
+ execsql {
+ CREATE TABLE t1(a, b);
+ CREATE TABLE t2(a, b);
+ INSERT INTO t1 VALUES('one' , 1);
+ INSERT INTO t1 VALUES('two' , 5);
+ INSERT INTO t1 VALUES('two' , 2);
+ INSERT INTO t1 VALUES('three', 3);
+ PRAGMA count_changes = 1;
+ }
+} {}
+
+do_test 1.1 {
+ execsql { INSERT INTO t2 SELECT * FROM t1 }
+} {4}
+
+do_test 1.2 { execsql VACUUM } {}
+
+finish_test
« no previous file with comments | « third_party/sqlite/src/test/tkt-bdc6bbbb38.test ('k') | third_party/sqlite/src/test/tkt-cbd054fa6b.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698