Add test for incorrect settings

This commit is contained in:
alesapin 2019-12-04 12:34:05 +03:00
parent 9e5f13e7af
commit ace44e0717
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,2 @@
10000000001
10000000001

View File

@ -0,0 +1,7 @@
SET max_memory_usage = 10000000001;
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '1G'; -- { serverError 27 }
SELECT value FROM system.settings WHERE name = 'max_memory_usage';