mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into magare.gmz:/home/kgeorge/mysql/autopush/B24484-5.0
This commit is contained in:
@ -4864,6 +4864,7 @@ bool setup_tables_and_check_access(THD *thd,
|
||||
TABLE_LIST *leaves_tmp = NULL;
|
||||
bool first_table= true;
|
||||
|
||||
thd->leaf_count= 0;
|
||||
if (setup_tables (thd, context, from_clause, tables, conds,
|
||||
&leaves_tmp, select_insert))
|
||||
return TRUE;
|
||||
@ -4881,6 +4882,7 @@ bool setup_tables_and_check_access(THD *thd,
|
||||
return TRUE;
|
||||
}
|
||||
first_table= false;
|
||||
thd->leaf_count++;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user