0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-11 08:25:32 +00:00
Files
libsql/libsql-wal/tests/assets/fixtures/corrupt2.test
ad hoc ad79ef48a2 libsql wal tests (#1408)
* add tests

* add bench
2024-05-24 13:59:17 +00: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;