mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
a fix for mysql client
client/mysql.cc: A fix for mysql client which did filtered out queries of the type: /*!40001 select 1 */
This commit is contained in:
@@ -1029,7 +1029,7 @@ static bool add_line(String &buffer,char *line,char *in_string,
|
||||
inchar == '-' && pos[1] == '-' &&
|
||||
my_isspace(system_charset_info,pos[2]))))
|
||||
break; // comment to end of line
|
||||
else if (!*in_string && inchar == '/' && *(pos+1) == '*')
|
||||
else if (!*in_string && inchar == '/' && *(pos+1) == '*' && *(pos+2) != '!')
|
||||
{
|
||||
pos++;
|
||||
*ml_comment= 1;
|
||||
|
Reference in New Issue
Block a user