2022-08-26 13:08:05 +00:00
|
|
|
-- Tags: no-parallel
|
|
|
|
-- because of system.tables poisoning
|
|
|
|
|
2022-08-25 20:40:24 +00:00
|
|
|
DROP TABLE IF EXISTS test;
|
|
|
|
CREATE TABLE test (key UInt32) Engine = Buffer(currentDatabase(), test, 16, 10, 100, 10000, 1000000, 10000000, 100000000);
|
2024-05-30 12:27:25 +00:00
|
|
|
SELECT * FROM test; -- { serverError INFINITE_LOOP }
|
|
|
|
SELECT * FROM system.tables WHERE table = 'test' AND database = currentDatabase() FORMAT Null; -- { serverError INFINITE_LOOP }
|
2022-08-25 20:40:24 +00:00
|
|
|
DROP TABLE test;
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS test1;
|
|
|
|
DROP TABLE IF EXISTS test2;
|
|
|
|
CREATE TABLE test1 (key UInt32) Engine = Buffer(currentDatabase(), test2, 16, 10, 100, 10000, 1000000, 10000000, 100000000);
|
2024-06-18 20:21:20 +00:00
|
|
|
CREATE TABLE test2 (key UInt32) Engine = Buffer(currentDatabase(), test1, 16, 10, 100, 10000, 1000000, 10000000, 100000000); -- { serverError INFINITE_LOOP }
|
2022-08-25 20:40:24 +00:00
|
|
|
DROP TABLE test1;
|