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

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

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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/exclusive.test ('k') | third_party/sqlite/src/test/exists.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/exclusive2.test
diff --git a/third_party/sqlite/src/test/exclusive2.test b/third_party/sqlite/src/test/exclusive2.test
index 712363e7620fd357e40dfd3c39fae86c574c138e..92fcd76ab3858d18718ce6a753f82e9ec50109b2 100644
--- a/third_party/sqlite/src/test/exclusive2.test
+++ b/third_party/sqlite/src/test/exclusive2.test
@@ -121,13 +121,13 @@ do_test exclusive2-1.1 {
execsql {
BEGIN;
CREATE TABLE t1(a, b);
- INSERT INTO t1(a) VALUES(randstr(10, 400));
- INSERT INTO t1(a) VALUES(randstr(10, 400));
- INSERT INTO t1(a) SELECT randstr(10, 400) FROM t1;
- INSERT INTO t1(a) SELECT randstr(10, 400) FROM t1;
- INSERT INTO t1(a) SELECT randstr(10, 400) FROM t1;
- INSERT INTO t1(a) SELECT randstr(10, 400) FROM t1;
- INSERT INTO t1(a) SELECT randstr(10, 400) FROM t1;
+ INSERT INTO t1(a, b) VALUES(randstr(10, 400), 0);
+ INSERT INTO t1(a, b) VALUES(randstr(10, 400), 0);
+ INSERT INTO t1(a, b) SELECT randstr(10, 400), 0 FROM t1;
+ INSERT INTO t1(a, b) SELECT randstr(10, 400), 0 FROM t1;
+ INSERT INTO t1(a, b) SELECT randstr(10, 400), 0 FROM t1;
+ INSERT INTO t1(a, b) SELECT randstr(10, 400), 0 FROM t1;
+ INSERT INTO t1(a, b) SELECT randstr(10, 400), 0 FROM t1;
COMMIT;
SELECT count(*) FROM t1;
}
@@ -154,7 +154,7 @@ do_test exclusive2-1.4 {
} $::sig
do_test exclusive2-1.5 {
execsql {
- UPDATE t1 SET b=a, a=NULL;
+ UPDATE t1 SET b=a, a=0;
} db2
expr {[t1sig db2] eq $::sig}
} 0
« no previous file with comments | « third_party/sqlite/src/test/exclusive.test ('k') | third_party/sqlite/src/test/exists.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698