From 2a79e0b61b882e2dbd583550c33b6ba2aa53193c Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 28 Jun 2020 17:35:44 +0300 Subject: [PATCH] Added a test --- .../queries/0_stateless/01352_generate_random_overflow.reference | 0 tests/queries/0_stateless/01352_generate_random_overflow.sql | 1 + 2 files changed, 1 insertion(+) create mode 100644 tests/queries/0_stateless/01352_generate_random_overflow.reference create mode 100644 tests/queries/0_stateless/01352_generate_random_overflow.sql diff --git a/tests/queries/0_stateless/01352_generate_random_overflow.reference b/tests/queries/0_stateless/01352_generate_random_overflow.reference new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/queries/0_stateless/01352_generate_random_overflow.sql b/tests/queries/0_stateless/01352_generate_random_overflow.sql new file mode 100644 index 00000000000..d49f8cb2687 --- /dev/null +++ b/tests/queries/0_stateless/01352_generate_random_overflow.sql @@ -0,0 +1 @@ +SELECT i FROM generateRandom('i Array(Nullable(Enum8(\'hello\' = 1, \'world\' = 5)))', 1025, 65535, 9223372036854775807) LIMIT 10; -- { serverError 128 }