1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

Don't give warnings for empty statements with comments

This commit is contained in:
monty@hundin.mysql.fi
2002-02-14 15:04:14 +02:00
parent d76fcdc5e9
commit b21f2d084f
7 changed files with 24 additions and 5 deletions

View File

@@ -1181,6 +1181,10 @@ mysql_execute_command(void)
res=mysql_do(thd, *lex->insert_list);
break;
case SQLCOM_EMPTY_QUERY:
send_ok(&thd->net);
break;
case SQLCOM_PURGE:
{
if (check_process_priv(thd))