mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 00:35:32 +02:00
MDEV-6027 RLIKE: "." no longer matching new line
Added a new system variable: default_regex_flags='DOTALL,DUPNAMES,EXTENDED,EXTRA,MULTILINE,UNGREEDY'
This commit is contained in:
parent
bcf16fa612
commit
f9e5f237f0
10 changed files with 287 additions and 1 deletions
|
|
@ -1513,9 +1513,10 @@ public:
|
|||
m_library_charset(&my_charset_utf8_general_ci),
|
||||
m_subpatterns_needed(0)
|
||||
{}
|
||||
int default_regex_flags();
|
||||
void init(CHARSET_INFO *data_charset, int extra_flags, uint nsubpatterns)
|
||||
{
|
||||
m_library_flags= extra_flags |
|
||||
m_library_flags= default_regex_flags() | extra_flags |
|
||||
(data_charset != &my_charset_bin ?
|
||||
(PCRE_UTF8 | PCRE_UCP) : 0) |
|
||||
((data_charset->state &
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue