mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
10
mysql-test/r/func_regexp_pcre_debug.result
Normal file
10
mysql-test/r/func_regexp_pcre_debug.result
Normal file
@ -0,0 +1,10 @@
|
||||
SET debug_dbug='+d,pcre_exec_error_123';
|
||||
SELECT 'a' RLIKE 'a';
|
||||
'a' RLIKE 'a'
|
||||
0
|
||||
Warnings:
|
||||
Warning 1139 Got error 'pcre_exec: Internal error (-123)' from regexp
|
||||
SET debug_dbug='';
|
||||
SELECT 'a' RLIKE 'a';
|
||||
'a' RLIKE 'a'
|
||||
1
|
Reference in New Issue
Block a user