1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix PRAGMA integrity_check so that it does not try to enforce types on

ANY columns in a STRICT table.

FossilOrigin-Name: 57384fda8db43964871be5e48ae1c72c67533046b523f161d60a41fdc8e96b9e
This commit is contained in:
drh
2021-09-08 19:25:21 +00:00
parent 2c09a8ad6f
commit 94b70d8343
4 changed files with 18 additions and 11 deletions

View File

@@ -138,6 +138,11 @@ do_execsql_test strict2-1.45 {
PRAGMA quick_check('t1');
} {{non-BLOB value in t1.e}}
do_execsql_test strict2-2.0 {
DROP TABLE IF EXISTS t2;
CREATE TABLE t2(a INT, b ANY) STRICT;
INSERT INTO t2(a,b) VALUES(1,2),(3,4.5),(5,'six'),(7,x'8888'),(9,NULL);
PRAGMA integrity_check(t2);
} {ok}
finish_test