mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
11 lines
699 B
SQL
11 lines
699 B
SQL
CREATE TABLE foo (key UInt32, a String, b Int64, c String) ENGINE = TinyLog;
|
|
|
|
SELECT count() FROM mysql(
|
|
mysql('127.0.0.1:9004', currentDatabase(), 'foo', 'default', ''),
|
|
'127.0.0.1:9004', currentDatabase(), 'foo', '', '',
|
|
SETTINGS connect_timeout = 100, connection_wait_timeout = 100, read_write_timeout = 300); -- { serverError UNKNOWN_FUNCTION }
|
|
SELECT count() FROM mysql(
|
|
mysql('127.0.0.1:9004', currentDatabase(), 'foo', 'default', '', SETTINGS connection_pool_size = 1),
|
|
'127.0.0.1:9004', currentDatabase(), 'foo', '', '',
|
|
SETTINGS connect_timeout = 100, connection_wait_timeout = 100, read_write_timeout = 300); -- { serverError UNKNOWN_FUNCTION, UNSUPPORTED_METHOD }
|