mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Update 01493_storage_set_persistency.sql
This commit is contained in:
parent
cd7354117c
commit
a0ffdb1f45
@ -8,7 +8,7 @@ SELECT '----- Default Settings -----';
|
||||
CREATE TABLE set (val UInt64) ENGINE = Set();
|
||||
INSERT INTO set VALUES (1);
|
||||
DETACH TABLE set;
|
||||
ATTACH TABLE set (val UInt64) ENGINE = Set();
|
||||
ATTACH TABLE set;
|
||||
SELECT number FROM number WHERE number IN set LIMIT 1;
|
||||
|
||||
DROP TABLE set;
|
||||
@ -17,7 +17,7 @@ SELECT '----- Settings persistent=1 -----';
|
||||
CREATE TABLE set (val UInt64) ENGINE = Set() SETTINGS persistent=1;
|
||||
INSERT INTO set VALUES (1);
|
||||
DETACH TABLE set;
|
||||
ATTACH TABLE set (val UInt64) ENGINE = Set() SETTINGS persistent=1;
|
||||
ATTACH TABLE set;
|
||||
SELECT number FROM number WHERE number IN set LIMIT 1;
|
||||
|
||||
DROP TABLE set;
|
||||
@ -26,7 +26,7 @@ SELECT '----- Settings persistent=0 -----';
|
||||
CREATE TABLE set (val UInt64) ENGINE = Set() SETTINGS persistent=0;
|
||||
INSERT INTO set VALUES (1);
|
||||
DETACH TABLE set;
|
||||
ATTACH TABLE set (val UInt64) ENGINE = Set() SETTINGS persistent=0;
|
||||
ATTACH TABLE set;
|
||||
SELECT number FROM number WHERE number IN set LIMIT 1;
|
||||
|
||||
DROP TABLE set;
|
||||
|
Loading…
Reference in New Issue
Block a user