1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-09 08:01:34 +03:00
Files
mariadb/mysql-test/suite/compat/oracle/r
Alexander Barkov f738cc9876 MDEV-29095 REGEXP_REPLACE treats empty strings different than REPLACE in ORACLE mode
Turning REGEXP_REPLACE into two schema-qualified functions:
- mariadb_schema.regexp_replace()
- oracle_schema.regexp_replace()

Fixing oracle_schema.regexp_replace(subj,pattern,replacement) to treat
NULL in "replacement" as an empty string.

Adding new classes implementing oracle_schema.regexp_replace():
- Item_func_regexp_replace_oracle
- Create_func_regexp_replace_oracle

Adding helper methods:
- String *Item::val_str_null_to_empty(String *to)
- String *Item::val_str_null_to_empty(String *to, bool null_to_empty)

and reusing these methods in both Item_func_replace and
Item_func_regexp_replace.
2024-01-24 10:59:17 +04:00
..
2022-09-13 16:36:38 +03:00
2022-05-18 01:22:29 +02:00
2020-05-25 19:41:58 +03:00
2020-04-15 09:56:03 +03:00
2020-04-15 09:56:03 +03:00
2022-03-29 11:13:18 +03:00
2022-09-13 16:36:38 +03:00
2022-09-13 16:36:38 +03:00
2022-04-21 11:33:59 +03:00