ClickHouse/tests/queries/0_stateless/00299_stripe_log_multiple_inserts.sql

38 lines
828 B
MySQL
Raw Normal View History

DROP TABLE IF EXISTS log;
CREATE TABLE log (x UInt8) ENGINE = StripeLog;
SELECT * FROM log ORDER BY x;
INSERT INTO log VALUES (0);
SELECT * FROM log ORDER BY x;
INSERT INTO log VALUES (1);
SELECT * FROM log ORDER BY x;
INSERT INTO log VALUES (2);
SELECT * FROM log ORDER BY x;
DROP TABLE log;
CREATE TABLE log (x UInt8) ENGINE = TinyLog;
SELECT * FROM log ORDER BY x;
INSERT INTO log VALUES (0);
SELECT * FROM log ORDER BY x;
INSERT INTO log VALUES (1);
SELECT * FROM log ORDER BY x;
INSERT INTO log VALUES (2);
SELECT * FROM log ORDER BY x;
DROP TABLE log;
CREATE TABLE log (x UInt8) ENGINE = Log;
SELECT * FROM log ORDER BY x;
INSERT INTO log VALUES (0);
SELECT * FROM log ORDER BY x;
INSERT INTO log VALUES (1);
SELECT * FROM log ORDER BY x;
INSERT INTO log VALUES (2);
SELECT * FROM log ORDER BY x;
DROP TABLE log;