should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,41 @@
# name: test/sql/update/update_delete_wal.test
# description: Integer null update checkpoint
# group: [update]
load __TEST_DIR__/update_delete_wal.db
statement ok
SET wal_autocheckpoint='1TB';
statement ok
create table test (id bigint primary key, c1 text);
statement ok
insert into test (id, c1) values (1, 'foo');
statement ok
insert into test (id, c1) values (2, 'bar');
statement ok
begin transaction;
statement ok
delete from test where id = 1;
statement ok
update test set c1='baz' where id=2;
statement ok
commit;
query II
SELECT * FROM test ORDER BY id
----
2 baz
restart
query II
SELECT * FROM test ORDER BY id
----
2 baz