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,29 @@
# name: test/fuzzer/pedro/alter_table_rowid.test
# description: Issue #4587: Alter table statements with rowid column
# group: [pedro]
statement ok
PRAGMA enable_verification
statement ok
CREATE TABLE t0(c0 INTEGER, c1 INTEGER);
statement error
ALTER TABLE t0 DROP COLUMN rowid;
----
<REGEX>:Binder Error.*does not have a column with name.*
statement error
ALTER TABLE t0 RENAME rowid TO ups;
----
<REGEX>:Binder Error.*does not have a column with name.*
statement error
ALTER TABLE t0 ALTER rowid TYPE VARCHAR;
----
<REGEX>:Binder Error.*does not have a column with name.*
statement error
ALTER TABLE t0 ALTER rowidx SET DEFAULT 0;
----
<REGEX>:Binder Error.*does not have a column with name.*