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 |