mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
patch for task WL 1941 "NO_C_ESCAPE sql_mode"
This commit is contained in:
@ -250,7 +250,8 @@ static char *get_text(LEX *lex)
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
if (c == '\\')
|
||||
if (c == '\\' &&
|
||||
!(lex->thd->variables.sql_mode & MODE_NO_BACKSLASH_ESCAPES))
|
||||
{ // Escaped character
|
||||
found_escape=1;
|
||||
if (lex->ptr == lex->end_of_query)
|
||||
|
Reference in New Issue
Block a user