1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

- Added new error message.

- Changed error message in sql_acl.cc
- Added some more tests for GRANT.
This commit is contained in:
jani@ua141d10.elisa.omakaista.fi
2005-03-22 15:57:24 +02:00
parent b10b7017fc
commit 01dddf095a
8 changed files with 57 additions and 3 deletions

View File

@ -1627,7 +1627,7 @@ static int replace_user_table(THD *thd, TABLE *table, const LEX_USER &combo,
else if (((thd->variables.sql_mode & MODE_NO_AUTO_CREATE_USER) &&
!password_len) || !create_user)
{
my_error(ER_NO_PERMISSION_TO_CREATE_USER, MYF(0),
my_error(ER_CANT_CREATE_USER_WITH_GRANT, MYF(0),
thd->user, thd->host_or_ip);
goto end;
}