mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
tolerate old pcre versions without PCRE2_EXTENDED_MORE flag
This commit is contained in:
@ -819,8 +819,11 @@ SET default_regex_flags=DEFAULT;
|
||||
SELECT 'AB' RLIKE 'A# this is a comment\nB';
|
||||
'AB' RLIKE 'A# this is a comment\nB'
|
||||
1
|
||||
SET default_regex_flags=DEFAULT;
|
||||
SELECT 'Aq' RLIKE 'A\\q';
|
||||
SET default_regex_flags=DEFAULT;
|
||||
SELECT 'Aq' RLIKE 'A\\q';
|
||||
ERROR 42000: Regex error 'unrecognized character follows \ at offset 2'
|
||||
SET default_regex_flags='EXTRA';
|
||||
SELECT 'A' RLIKE 'B';
|
||||
'A' RLIKE 'B'
|
||||
0
|
||||
Warnings:
|
||||
|
Reference in New Issue
Block a user