Update 03032_storage_memory_modify_settings.sql

This commit is contained in:
Yarik Briukhovetskyi 2024-04-03 18:03:45 +02:00 committed by GitHub
parent e737acb1f9
commit e0e3db843a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,9 +67,9 @@ SELECT total_rows FROM system.tables WHERE name = 'memory' and database = curren
SELECT 'TESTING INVALID SETTINGS';
DROP TABLE IF EXISTS memory;
CREATE TABLE memory (i UInt32) ENGINE = Memory;
ALTER TABLE memory MODIFY SETTING max_rows_to_keep = 1000;
ALTER TABLE memory MODIFY SETTING max_bytes_to_keep = 1000;
ALTER TABLE memory MODIFY SETTING min_rows_to_keep = 100; -- { serverError 452 }
ALTER TABLE memory MODIFY SETTING min_bytes_to_keep = 100; -- { serverError 452 }
ALTER TABLE memory MODIFY SETTING max_rows_to_keep = 1000;
ALTER TABLE memory MODIFY SETTING max_bytes_to_keep = 1000;
DROP TABLE memory;
DROP TABLE memory;