mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-8102 REGEXP function fails to match hex values when expression is stored as a variable
We don't fix the bug itself, we just make regex functions display errors returned from pcre_exec() as MariaDB warnings.
This commit is contained in:
6
mysql-test/t/func_regexp_pcre_debug.test
Normal file
6
mysql-test/t/func_regexp_pcre_debug.test
Normal file
@ -0,0 +1,6 @@
|
||||
--source include/have_debug.inc
|
||||
|
||||
SET debug_dbug='+d,pcre_exec_error_123';
|
||||
SELECT 'a' RLIKE 'a';
|
||||
SET debug_dbug='';
|
||||
SELECT 'a' RLIKE 'a';
|
Reference in New Issue
Block a user