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,27 @@
# name: test/sql/attach/attach_issue16122.test
# description: Issue #16122 - Attach binding to incorrect table
# group: [attach]
load __TEST_DIR__/issue16122.db
statement ok
create table mytable (C1 VARCHAR(10));
statement ok
insert into mytable values ('a');
statement ok
attach '__TEST_DIR__/issue16122_new.db' as TOMERGE;
statement ok
create table TOMERGE.mytable (C1 VARCHAR(10));
query I
insert into TOMERGE.mytable SELECT * FROM mytable;
----
1
query I
select * from TOMERGE.mytable;
----
a