should be it
This commit is contained in:
36
external/duckdb/test/fuzzer/pedro/pushdown_error.test
vendored
Normal file
36
external/duckdb/test/fuzzer/pedro/pushdown_error.test
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
# name: test/fuzzer/pedro/pushdown_error.test
|
||||
# description: WAL cannot alter table
|
||||
# group: [pedro]
|
||||
|
||||
# fuzzer
|
||||
|
||||
statement ok
|
||||
PRAGMA enable_verification
|
||||
|
||||
load __TEST_DIR__/wal_crash.db
|
||||
|
||||
statement ok
|
||||
CREATE TABLE t2(c1 INT);
|
||||
|
||||
statement ok
|
||||
CREATE INDEX i0 ON t2(c1);
|
||||
|
||||
statement ok
|
||||
CHECKPOINT;
|
||||
|
||||
statement ok
|
||||
SET wal_autocheckpoint='1TB';
|
||||
|
||||
statement ok
|
||||
PRAGMA disable_checkpoint_on_shutdown;
|
||||
|
||||
statement ok
|
||||
DROP INDEX i0;
|
||||
|
||||
statement ok
|
||||
ALTER TABLE t2 ALTER c1 SET DEFAULT 0;
|
||||
|
||||
restart
|
||||
|
||||
query I
|
||||
SELECT * FROM t2;
|
||||
Reference in New Issue
Block a user