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:
Raúl Marín 2022-05-14 01:19:19 +02:00
parent 369c18ad7f
commit 644b7c01bd
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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);