2022-09-01 08:43:14 +00:00
|
|
|
-- Tags: no-ordinary-database, no-fasttest
|
2022-08-31 08:14:50 +00:00
|
|
|
|
|
|
|
DROP TABLE IF EXISTS 02418_test SYNC;
|
|
|
|
|
2022-09-08 12:45:36 +00:00
|
|
|
CREATE TABLE 02418_test (key UInt64, value Float64) Engine=KeeperMap('/' || currentDatabase() || '/test2418', 3) PRIMARY KEY(key);
|
2022-08-31 08:14:50 +00:00
|
|
|
|
|
|
|
INSERT INTO 02418_test VALUES (1, 1.1), (2, 2.2);
|
|
|
|
SELECT count() FROM 02418_test;
|
|
|
|
|
|
|
|
INSERT INTO 02418_test VALUES (3, 3.3), (4, 4.4); -- { serverError 290 }
|
|
|
|
|
|
|
|
INSERT INTO 02418_test VALUES (1, 2.1), (2, 3.2), (3, 3.3);
|
|
|
|
SELECT count() FROM 02418_test;
|
|
|
|
|
2022-09-08 12:45:36 +00:00
|
|
|
CREATE TABLE 02418_test_another (key UInt64, value Float64) Engine=KeeperMap('/' || currentDatabase() || '/test2418', 4) PRIMARY KEY(key);
|
2022-08-31 08:14:50 +00:00
|
|
|
INSERT INTO 02418_test VALUES (4, 4.4); -- { serverError 290 }
|
|
|
|
INSERT INTO 02418_test_another VALUES (4, 4.4);
|
|
|
|
|
|
|
|
SELECT count() FROM 02418_test;
|
|
|
|
SELECT count() FROM 02418_test_another;
|
|
|
|
|
|
|
|
DROP TABLE 02418_test SYNC;
|
|
|
|
DROP TABLE 02418_test_another SYNC;
|