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

cleanup: create LEX_USER::reset_auth()

as this is used quite often
This commit is contained in:
Sergei Golubchik
2016-01-23 16:08:24 +01:00
parent b01e2ff1cd
commit 1fea7e785f
5 changed files with 15 additions and 23 deletions

View File

@@ -5160,9 +5160,7 @@ void THD::get_definer(LEX_USER *definer, bool role)
{
definer->user = invoker_user;
definer->host= invoker_host;
definer->password= null_lex_str;
definer->plugin= empty_lex_str;
definer->auth= empty_lex_str;
definer->reset_auth();
}
else
#endif