2021-09-12 12:35:27 +00:00
|
|
|
-- Tags: no-parallel
|
|
|
|
-- Tag no-parallel: creates database
|
|
|
|
|
2020-10-18 20:18:02 +00:00
|
|
|
drop database if exists db_01530_atomic sync;
|
|
|
|
|
|
|
|
create database db_01530_atomic Engine=Atomic;
|
2021-08-05 06:55:07 +00:00
|
|
|
create table db_01530_atomic.data (key Int) Engine=ReplicatedMergeTree('/clickhouse/tables/{database}/db_01530_atomic/data', 'test') order by key;
|
2020-10-18 20:18:02 +00:00
|
|
|
drop database db_01530_atomic sync;
|
|
|
|
|
|
|
|
create database db_01530_atomic Engine=Atomic;
|
2021-08-05 06:55:07 +00:00
|
|
|
create table db_01530_atomic.data (key Int) Engine=ReplicatedMergeTree('/clickhouse/tables/{database}/db_01530_atomic/data', 'test') order by key;
|
2020-10-18 20:18:02 +00:00
|
|
|
drop database db_01530_atomic sync;
|
|
|
|
|
|
|
|
|
|
|
|
set database_atomic_wait_for_drop_and_detach_synchronously=1;
|
|
|
|
|
|
|
|
create database db_01530_atomic Engine=Atomic;
|
2021-08-05 06:55:07 +00:00
|
|
|
create table db_01530_atomic.data (key Int) Engine=ReplicatedMergeTree('/clickhouse/tables/{database}/db_01530_atomic/data', 'test') order by key;
|
2020-10-18 20:18:02 +00:00
|
|
|
drop database db_01530_atomic;
|
|
|
|
|
|
|
|
create database db_01530_atomic Engine=Atomic;
|
2021-08-05 06:55:07 +00:00
|
|
|
create table db_01530_atomic.data (key Int) Engine=ReplicatedMergeTree('/clickhouse/tables/{database}/db_01530_atomic/data', 'test') order by key;
|
2020-10-18 20:18:02 +00:00
|
|
|
drop database db_01530_atomic;
|
|
|
|
|
|
|
|
|
|
|
|
set database_atomic_wait_for_drop_and_detach_synchronously=0;
|
|
|
|
|
|
|
|
create database db_01530_atomic Engine=Atomic;
|
2021-08-05 06:55:07 +00:00
|
|
|
create table db_01530_atomic.data (key Int) Engine=ReplicatedMergeTree('/clickhouse/tables/{database}/db_01530_atomic/data', 'test') order by key;
|
2020-10-18 20:18:02 +00:00
|
|
|
drop database db_01530_atomic;
|
|
|
|
|
|
|
|
create database db_01530_atomic Engine=Atomic;
|
2021-08-05 06:55:07 +00:00
|
|
|
create table db_01530_atomic.data (key Int) Engine=ReplicatedMergeTree('/clickhouse/tables/{database}/db_01530_atomic/data', 'test') order by key; -- { serverError 253; }
|
2020-11-11 15:29:36 +00:00
|
|
|
|
|
|
|
set database_atomic_wait_for_drop_and_detach_synchronously=1;
|
|
|
|
|
|
|
|
drop database db_01530_atomic sync;
|