mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Cleanups
This commit is contained in:
@@ -2178,7 +2178,7 @@ mysql_execute_command(void)
|
||||
}
|
||||
if (check_access(thd,SELECT_ACL,db,&thd->col_access))
|
||||
goto error; /* purecov: inspected */
|
||||
if (!thd->col_access && grant_option && check_grant_db(thd,db))
|
||||
if (!thd->col_access && check_grant_db(thd,db))
|
||||
{
|
||||
net_printf(&thd->net,ER_DBACCESS_DENIED_ERROR,
|
||||
thd->priv_user,
|
||||
|
Reference in New Issue
Block a user