1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

minor error messages cleanup

This commit is contained in:
serg@serg.mylan
2003-10-02 23:41:10 +02:00
parent fc5dedc6c5
commit 9be83de693
2 changed files with 6 additions and 2 deletions

View File

@ -3589,8 +3589,13 @@ int mysql_revoke_all(THD *thd, List <LEX_USER> &list)
VOID(pthread_mutex_unlock(&acl_cache->lock));
rw_unlock(&LOCK_grant);
close_thread_tables(thd);
#ifdef TO_BE_DELETED
/* XXX this should not be necessary. The error message is already printed */
/* when this code is deleted, the error slot (error 1268) can be reused,
as this error code was not present in any MySQL release */
if (result)
my_error(ER_REVOKE_GRANTS, MYF(0));
#endif
DBUG_RETURN(result);
}