1
0
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:
unknown
2003-02-06 16:03:13 +02:00
parent ffe32e4135
commit 9503614aab

View File

@@ -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;