0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-12 15:33:44 +00:00
libsql/libsql-wal/tests/assets/fixtures/tkt-5e10420e8d.test
ad hoc ad79ef48a2
libsql wal tests (#1408)
* add tests

* add bench
2024-05-24 13:59:17 +00:00

27 lines
418 B
Plaintext

PRAGMA page_size = 1024;
PRAGMA auto_vacuum = incremental;
CREATE TABLE t1(x);
CREATE TABLE t2(x);
CREATE TABLE t3(x);
INSERT INTO t3 VALUES(randomblob(131572));
INSERT INTO t1 VALUES(randomblob(1500));
INSERT INTO t2 VALUES(randomblob(131572));
DELETE FROM t3;
DELETE FROM t2;
DELETE FROM t1;
PRAGMA incremental_vacuum(248)
PRAGMA incremental_vacuum(1)
PRAGMA integrity_check;