mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Don't give the anonymous user create temp table or lock tables privileges.
SET PASSWORD=... closed connection on error.
This commit is contained in:
@ -2202,9 +2202,7 @@ mysql_execute_command(void)
|
||||
break;
|
||||
}
|
||||
case SQLCOM_SET_OPTION:
|
||||
if (sql_set_variables(thd, &lex->var_list))
|
||||
res= -1;
|
||||
else
|
||||
if (!(res=sql_set_variables(thd, &lex->var_list)))
|
||||
send_ok(&thd->net);
|
||||
break;
|
||||
case SQLCOM_UNLOCK_TABLES:
|
||||
|
Reference in New Issue
Block a user