1
0
mirror of https://github.com/sqlite/sqlite.git synced 2026-01-06 08:01:16 +03:00

Fix pragma6.test so that it works with ENABLE_OVERSIZE_CELL_CHECK builds.

FossilOrigin-Name: a02551de4c2d7085569ee76f88bfef5da429e40137cc1d1349b4637f88259ad1
This commit is contained in:
dan
2024-03-08 11:13:20 +00:00
parent a219fb5bb9
commit 3041642b1a
3 changed files with 20 additions and 17 deletions

View File

@@ -51,16 +51,19 @@ do_test 1.0 {
}]
} {}
do_execsql_test 1.1 {
CREATE TEMP TABLE t2(
a t1 PRIMARY KEY default 27,
b default(current_timestamp),
d TEXT UNIQUE DEFAULT 'ch`arlie',
c TEXT UNIQUE DEFAULT 084,
UNIQUE(c,b,b,a,b)
) WITHOUT ROWID;
INSERT INTO t1(a) VALUES(zeroblob(40000));
}
do_test 1.1 {
execsql {
CREATE TEMP TABLE t2(
a t1 PRIMARY KEY default 27,
b default(current_timestamp),
d TEXT UNIQUE DEFAULT 'ch`arlie',
c TEXT UNIQUE DEFAULT 084,
UNIQUE(c,b,b,a,b)
) WITHOUT ROWID;
}
catchsql { INSERT INTO t1(a) VALUES(zeroblob(40000)) }
set {} {}
} {}
do_test 1.2 {
execsql { PRAGMA integrity_check; }