1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Add replace_regex to not ignore the regex in "$var /regex/val/"

This commit is contained in:
Daniel Black
2017-04-13 16:14:21 +10:00
parent ea4146229c
commit d59b94e7fd
3 changed files with 55 additions and 27 deletions

View File

@ -2084,9 +2084,11 @@ drop table t1;
--let $patt= /a /b / /less/more/
--replace_regex $patt
select "a is a and less is more" as txt;
--replace_regex $patt /and /or /
select "a is a and less is more" as txt2;
--let $patt=
--replace_regex $patt
select "a is a and less is more" as txt;
select "a is a and less is more" as txt3;
--enable_query_log
#