Commit b25951cc authored by Sergei Golubchik's avatar Sergei Golubchik

fix the test to be independent from the stack size

parent 2ab48b44
...@@ -6,6 +6,7 @@ slave_skip_errors OFF ...@@ -6,6 +6,7 @@ slave_skip_errors OFF
# Bug#58026: massive recursion and crash in regular expression handling # Bug#58026: massive recursion and crash in regular expression handling
# #
SELECT '1' RLIKE RPAD('1', 10000, '('); SELECT '1' RLIKE RPAD('1', 10000, '(');
Got one of the listed errors
# #
# WL#4284: Transactional DDL locking # WL#4284: Transactional DDL locking
# #
......
...@@ -18,10 +18,8 @@ SHOW VARIABLES like 'slave_skip_errors'; ...@@ -18,10 +18,8 @@ SHOW VARIABLES like 'slave_skip_errors';
--echo # Bug#58026: massive recursion and crash in regular expression handling --echo # Bug#58026: massive recursion and crash in regular expression handling
--echo # --echo #
--disable_result_log --error ER_STACK_OVERRUN_NEED_MORE,ER_REGEXP_ERROR
--error ER_STACK_OVERRUN_NEED_MORE
SELECT '1' RLIKE RPAD('1', 10000, '('); SELECT '1' RLIKE RPAD('1', 10000, '(');
--enable_result_log
# End of 5.1 tests # End of 5.1 tests
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment