From 9503614aab9c2e151bb69675e172edf7c499fa0e Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 6 Feb 2003 16:03:13 +0200 Subject: [PATCH] a fix for mysql client client/mysql.cc: A fix for mysql client which did filtered out queries of the type: /*!40001 select 1 */ --- client/mysql.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/mysql.cc b/client/mysql.cc index cef31b46b2c..009661e821f 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -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;