0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-15 07:29:41 +00:00
libsql/libsql-wal/tests/assets/fixtures/tkt-2d1a5c67d.test
ad hoc ad79ef48a2
libsql wal tests (#1408)
* add tests

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

20 lines
566 B
Plaintext

PRAGMA cache_size = 10;
CREATE TABLE t3(a INTEGER PRIMARY KEY, b);
CREATE TABLE t4(a);
INSERT INTO t3 VALUES(NULL, randomblob(500));
INSERT INTO t3 SELECT NULL, b||b FROM t3; -- 2
INSERT INTO t3 SELECT NULL, b||b FROM t3; -- 4
INSERT INTO t3 SELECT NULL, b||b FROM t3; -- 8
INSERT INTO t3 SELECT NULL, b||b FROM t3; -- 16
INSERT INTO t3 SELECT NULL, b||b FROM t3; -- 32
INSERT INTO t3 SELECT NULL, b||b FROM t3; -- 64
INSERT INTO t3 SELECT NULL, b||b FROM t3; -- 128
BEGIN;
INSERT INTO t4 VALUES('xyz');