1
0
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:
monty@mashka.mysql.fi
2002-09-22 18:02:39 +03:00
parent 378d977d28
commit 9c123d0c0b
10 changed files with 103 additions and 84 deletions

View File

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