mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added a test for #6549
This commit is contained in:
parent
ad672f7ce2
commit
a7cc800138
@ -0,0 +1,3 @@
|
||||
Hello, world 1
|
||||
Hello, world 1
|
||||
Goodbye 1
|
13
tests/queries/0_stateless/01325_freeze_mutation_stuck.sql
Normal file
13
tests/queries/0_stateless/01325_freeze_mutation_stuck.sql
Normal file
@ -0,0 +1,13 @@
|
||||
DROP TABLE IF EXISTS mt;
|
||||
CREATE TABLE mt (x String, y UInt64, INDEX idx (y) TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY y;
|
||||
INSERT INTO mt VALUES ('Hello, world', 1);
|
||||
|
||||
SELECT * FROM mt;
|
||||
ALTER TABLE mt FREEZE;
|
||||
SELECT * FROM mt;
|
||||
|
||||
SET mutations_sync = 1;
|
||||
ALTER TABLE mt UPDATE x = 'Goodbye' WHERE y = 1;
|
||||
SELECT * FROM mt;
|
||||
|
||||
DROP TABLE mt;
|
Loading…
Reference in New Issue
Block a user