mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
29 lines
492 B
SQL
29 lines
492 B
SQL
-- Tags: deadlock
|
|
|
|
DROP TABLE IF EXISTS t;
|
|
CREATE TABLE t (x UInt8) ENGINE = TinyLog;
|
|
|
|
INSERT INTO t VALUES (1), (2), (3);
|
|
INSERT INTO t SELECT * FROM t;
|
|
SELECT count() FROM t;
|
|
|
|
DROP TABLE t;
|
|
|
|
|
|
CREATE TABLE t (x UInt8) ENGINE = Log;
|
|
|
|
INSERT INTO t VALUES (1), (2), (3);
|
|
INSERT INTO t SELECT * FROM t;
|
|
SELECT count() FROM t;
|
|
|
|
DROP TABLE t;
|
|
|
|
|
|
CREATE TABLE t (x UInt8) ENGINE = StripeLog;
|
|
|
|
INSERT INTO t VALUES (1), (2), (3);
|
|
INSERT INTO t SELECT * FROM t;
|
|
SELECT count() FROM t;
|
|
|
|
DROP TABLE t;
|