From 013435bdedbb686a17b443f3214c34def938eda5 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Mon, 11 Nov 2019 11:55:07 +0300 Subject: [PATCH] Updated test #7703 --- .../0_stateless/00970_substring_arg_validation.reference | 1 + .../queries/0_stateless/00970_substring_arg_validation.sql | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dbms/tests/queries/0_stateless/00970_substring_arg_validation.reference b/dbms/tests/queries/0_stateless/00970_substring_arg_validation.reference index e69de29bb2d..13e7564ea0c 100644 --- a/dbms/tests/queries/0_stateless/00970_substring_arg_validation.reference +++ b/dbms/tests/queries/0_stateless/00970_substring_arg_validation.reference @@ -0,0 +1 @@ +o diff --git a/dbms/tests/queries/0_stateless/00970_substring_arg_validation.sql b/dbms/tests/queries/0_stateless/00970_substring_arg_validation.sql index 7d8320a1d64..43d73bc2cda 100644 --- a/dbms/tests/queries/0_stateless/00970_substring_arg_validation.sql +++ b/dbms/tests/queries/0_stateless/00970_substring_arg_validation.sql @@ -1,4 +1,4 @@ SELECT substring('hello', []); -- { serverError 43 } SELECT substring('hello', 1, []); -- { serverError 43 } -SELECT substring(materialize('hello'), -1, -1); -- { serverError 69 } +SELECT substring(materialize('hello'), -1, -1); SELECT substring(materialize('hello'), 0); -- { serverError 135 } \ No newline at end of file