mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-13187 incorrect backslash parsing in clients
cover ANSI_QUOTES and NO_BACKSLASH_ESCAPES in mysqltest
This commit is contained in:
@@ -2288,6 +2288,8 @@ static bool add_line(String &buffer, char *line, ulong line_length,
|
||||
}
|
||||
#endif
|
||||
if (!*ml_comment && inchar == '\\' && *in_string != '`' &&
|
||||
!(*in_string == '"' &&
|
||||
(mysql.server_status & SERVER_STATUS_ANSI_QUOTES)) &&
|
||||
!(*in_string &&
|
||||
(mysql.server_status & SERVER_STATUS_NO_BACKSLASH_ESCAPES)))
|
||||
{
|
||||
|
Reference in New Issue
Block a user