mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.2 into 10.3
This commit is contained in:
@ -8724,7 +8724,6 @@ end:
|
||||
bool optimize_schema_tables_reads(JOIN *join)
|
||||
{
|
||||
THD *thd= join->thd;
|
||||
bool result= 0;
|
||||
DBUG_ENTER("optimize_schema_tables_reads");
|
||||
|
||||
JOIN_TAB *tab;
|
||||
@ -8759,11 +8758,11 @@ bool optimize_schema_tables_reads(JOIN *join)
|
||||
*/
|
||||
cond= tab->cache_select->cond;
|
||||
}
|
||||
|
||||
optimize_for_get_all_tables(thd, table_list, cond);
|
||||
if (optimize_for_get_all_tables(thd, table_list, cond))
|
||||
DBUG_RETURN(TRUE); // Handle OOM
|
||||
}
|
||||
}
|
||||
DBUG_RETURN(result);
|
||||
DBUG_RETURN(FALSE);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user