1
0
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:
Sergei Golubchik
2020-01-12 20:50:14 +01:00
parent 0b8b84d8d8
commit 1b1bf430b8
3 changed files with 17 additions and 6 deletions

View File

@ -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: