mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Lower the value of settings to match old behaviour
Before the change to use floats, this settings were getting 0 as the parsed value, so keep the old value by setting to zero explicitly
This commit is contained in:
parent
369c18ad7f
commit
644b7c01bd
@ -1,11 +1,11 @@
|
||||
-- Tags: no-fasttest
|
||||
|
||||
SET min_execution_speed = 100000000000, timeout_before_checking_execution_speed = 0.1;
|
||||
SET min_execution_speed = 100000000000, timeout_before_checking_execution_speed = 0;
|
||||
SELECT count() FROM system.numbers; -- { serverError 160 }
|
||||
SELECT 'Ok (1)';
|
||||
SET min_execution_speed = 0;
|
||||
|
||||
SET min_execution_speed_bytes = 800000000000, timeout_before_checking_execution_speed = 0.1;
|
||||
SET min_execution_speed_bytes = 800000000000, timeout_before_checking_execution_speed = 0;
|
||||
SELECT count() FROM system.numbers; -- { serverError 160 }
|
||||
SELECT 'Ok (2)';
|
||||
SET min_execution_speed_bytes = 0;
|
||||
|
@ -1,7 +1,7 @@
|
||||
-- Tags: distributed
|
||||
|
||||
SET max_execution_speed = 1000000;
|
||||
SET timeout_before_checking_execution_speed = 0.001;
|
||||
SET timeout_before_checking_execution_speed = 0;
|
||||
SET max_block_size = 100;
|
||||
|
||||
SET log_queries=1;
|
||||
|
@ -1,4 +1,4 @@
|
||||
SET max_execution_speed = 4000000, timeout_before_checking_execution_speed = 0.001;
|
||||
SET max_execution_speed = 4000000, timeout_before_checking_execution_speed = 0;
|
||||
|
||||
CREATE TEMPORARY TABLE times (t DateTime);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user