Test added

This commit is contained in:
Mikhail Korotov 2019-12-18 15:01:28 +03:00
parent e9ce6c97cc
commit 326e418434
2 changed files with 22 additions and 7 deletions

View File

@ -1,2 +1,8 @@
10000000001
10000000001
1000000000
3221225472
1567000
125952
12000000
32505856
1000000000000
1099511627776

View File

@ -1,7 +1,16 @@
SET max_memory_usage = 10000000001;
SET max_memory_usage = '1G';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '1G'; -- { serverError 27 }
SET max_memory_usage = '3Gi';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '1567k';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '123ki';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '12M';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '31Mi';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '1T';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '1Ti';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';