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

fix my_error usage

This commit is contained in:
Nikita Malyavin
2020-11-17 04:59:41 +01:00
parent e7cc1a3047
commit 765458c93c
4 changed files with 13 additions and 11 deletions

View File

@@ -3345,7 +3345,7 @@ end:
switch (result)
{
case ER_INVALID_CURRENT_USER:
my_error(ER_INVALID_CURRENT_USER, MYF(0), rolename);
my_error(ER_INVALID_CURRENT_USER, MYF(0));
break;
case ER_INVALID_ROLE:
/* Role doesn't exist at all */