Update 01505_log_distributed_deadlock.sql

This commit is contained in:
alexey-milovidov 2020-09-22 21:25:31 +03:00 committed by GitHub
parent d7c7619cd8
commit cf24789c1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,12 @@
create table t_local(a int) engine Log;
DROP TABLE IF EXISTS t_local;
DROP TABLE IF EXISTS t_dist;
create table t_dist (a int) engine Distributed(test_shard_localhost, 'default', 't_local', cityHash64(a));
create table t_local(a int) engine Log;
create table t_dist (a int) engine Distributed(test_shard_localhost, currentDatabase(), 't_local', cityHash64(a));
set insert_distributed_sync = 1;
insert into t_dist values (1);
DROP TABLE t_local;
DROP TABLE t_dist;