diff --git a/dbms/tests/queries/0_stateless/00086_concat_nary_const_with_nonconst_segfault.reference b/dbms/tests/queries/0_stateless/00086_concat_nary_const_with_nonconst_segfault.reference new file mode 100644 index 00000000000..825319e1c5b --- /dev/null +++ b/dbms/tests/queries/0_stateless/00086_concat_nary_const_with_nonconst_segfault.reference @@ -0,0 +1 @@ +10000000 diff --git a/dbms/tests/queries/0_stateless/00086_concat_nary_const_with_nonconst_segfault.sql b/dbms/tests/queries/0_stateless/00086_concat_nary_const_with_nonconst_segfault.sql new file mode 100644 index 00000000000..a9d4be129b9 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00086_concat_nary_const_with_nonconst_segfault.sql @@ -0,0 +1 @@ +SELECT * FROM system.numbers_mt WHERE concat(materialize('1'), '...', toString(number)) LIKE '%10000000%' LIMIT 1