mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Don't give the anonymous user create temp table or lock tables privileges.
SET PASSWORD=... closed connection on error. Docs/manual.texi: Changelog mysql-test/r/rpl_rotate_logs.result: Fixed test scripts/mysql_fix_privilege_tables.sh: Don't give the anonymous user create temp table or lock tables privileges. sql/set_var.cc: SET PASSWORD=... closed connection on error, because MySQL sent the error message twice. sql/set_var.h: SET PASSWORD=... closed connection on error, because MySQL sent the error message twice. sql/sql_acl.cc: Added function comment sql/sql_db.cc: Change type of variable sql/sql_parse.cc: SET PASSWORD=... closed connection on error, because MySQL sent the error message twice. tests/grant.pl: Updated grant test case to work with latest MySQL version tests/grant.res: updated test results
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