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

Fix for bug 1176

This commit is contained in:
unknown
2003-09-04 17:12:20 +05:00
parent d89b2a9f1d
commit 6f607d3aa6
3 changed files with 22 additions and 1 deletions

View File

@ -96,7 +96,7 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit,
else
res= check_access(thd, SELECT_ACL, any_db);
if (res)
DBUG_RETURN(-1);
DBUG_RETURN(1);
if (!(res=open_and_lock_tables(thd,tables)))
{