mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
merge with 3.23.49
BitKeeper/etc/logging_ok: auto-union acconfig.h: Auto merged Docs/manual.texi: Auto merged client/client_priv.h: Auto merged include/mysql.h: Auto merged innobase/dict/dict0dict.c: Auto merged innobase/row/row0mysql.c: Auto merged mysql-test/t/comments.test: Auto merged sql/sql_lex.cc: Auto merged sql/sql_load.cc: Auto merged sql/sql_parse.cc: Auto merged sql/unireg.cc: Auto merged sql/unireg.h: Auto merged
This commit is contained in:
@ -768,6 +768,7 @@ int yylex(void *arg)
|
||||
return(TEXT_STRING);
|
||||
|
||||
case STATE_COMMENT: // Comment
|
||||
lex->options|= OPTION_FOUND_COMMENT;
|
||||
while ((c = yyGet()) != '\n' && c) ;
|
||||
yyUnget(); // Safety against eof
|
||||
state = STATE_START; // Try again
|
||||
@ -779,6 +780,7 @@ int yylex(void *arg)
|
||||
break;
|
||||
}
|
||||
yySkip(); // Skip '*'
|
||||
lex->options|= OPTION_FOUND_COMMENT;
|
||||
if (yyPeek() == '!') // MySQL command in comment
|
||||
{
|
||||
ulong version=MYSQL_VERSION_ID;
|
||||
|
Reference in New Issue
Block a user