Update tests/queries/0_stateless/01641_memory_tracking_insert_optimize_long.sql

Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
This commit is contained in:
alexey-milovidov 2021-04-25 13:09:58 +03:00 committed by GitHub
parent e20a6e0f96
commit 42de40ab35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ SET max_block_size = 1000, min_insert_block_size_rows = 0, min_insert_block_size
insert into data_01641 select number, toString(number) from numbers(120000);
-- Definitely should fail and it proves that memory is tracked in OPTIMIZE query.
set max_memory_usage='10Mi';
set max_memory_usage='10Mi', max_untracked_memory=0;
optimize table data_01641 final; -- { serverError 241 }
drop table data_01641;