Added another test

This commit is contained in:
Alexey Milovidov 2019-09-23 02:56:27 +03:00
parent 80849e0fd7
commit e6f1fdc011
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,13 @@
1000000
0
1
22
333
4444
55555
666666
7777777
88888888
999999999
10101010101010101010

View File

@ -0,0 +1,6 @@
SELECT length(repeat('x', 1000000));
SELECT length(repeat('', 1000000));
SELECT length(repeat('x', 1000001)); -- { serverError 131 }
SET max_memory_usage = 100000000;
SELECT length(repeat(repeat('Hello, world!', 1000000), 10)); -- { serverError 241 }
SELECT repeat(toString(number), number) FROM system.numbers LIMIT 11;