mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 06:35:33 +02:00
Fix for bug 1176
This commit is contained in:
parent
d89b2a9f1d
commit
6f607d3aa6
3 changed files with 22 additions and 1 deletions
|
|
@ -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)))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue