0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-07-20 14:29:34 +00:00
Files
libsql/libsql-sqlite3/test/fixtures/corrupt2.test
2024-05-27 12:59:10 +02:00

21 lines
290 B
Plaintext

PRAGMA auto_vacuum = 0;
CREATE TABLE t1(x);
INSERT INTO t1 VALUES(randomblob(3500));
DELETE FROM t1;
PRAGMA integrity_check;
PRAGMA freelist_count;
PRAGMA integrity_check;
INSERT INTO t1 VALUES(randomblob(2500));
PRAGMA freelist_count;
PRAGMA integrity_check;