mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
Add replace_regex to not ignore the regex in "$var /regex/val/"
This commit is contained in:
parent
ea4146229c
commit
d59b94e7fd
3 changed files with 55 additions and 27 deletions
|
|
@ -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
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue