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,26 @@
# name: test/sql/attach/attach_issue7567.test
# description: Issue #7567 - Setting the current schema should not change the current database
# group: [attach]
statement ok
attach ':memory:' as test;
statement ok
use test;
statement ok
create schema schema1;
statement ok
create table schema1.table1 as select 1 as a;
statement error
set schema='schema2';
----
No catalog + schema named "schema2" found
statement ok
set schema='schema1';
statement ok
select * from table1;