Commit 6f17421c authored by Sergey Petrunya's avatar Sergey Petrunya

Buildbot fixes:

- Don't call table_list->process_index_hints() for JTBM pseudo-tables
- Update test results
parent 6b744533
This diff is collapsed.
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
--disable_warnings --disable_warnings
drop table if exists t1, t2, t3, t1i, t2i, t3i; drop table if exists t1, t2, t3, t1i, t2i, t3i;
drop table if exists columns;
drop table if exists t1_16, t2_16, t3_16;
drop view if exists v1, v2, v1m, v2m; drop view if exists v1, v2, v1m, v2m;
--enable_warnings --enable_warnings
......
...@@ -7774,11 +7774,13 @@ bool setup_tables(THD *thd, Name_resolution_context *context, ...@@ -7774,11 +7774,13 @@ bool setup_tables(THD *thd, Name_resolution_context *context,
table_list->jtbm_table_no= tablenr; table_list->jtbm_table_no= tablenr;
} }
else else
{
setup_table_map(table, table_list, tablenr); setup_table_map(table, table_list, tablenr);
if (table_list->process_index_hints(table)) if (table_list->process_index_hints(table))
DBUG_RETURN(1); DBUG_RETURN(1);
} }
}
if (tablenr > MAX_TABLES) if (tablenr > MAX_TABLES)
{ {
my_error(ER_TOO_MANY_TABLES,MYF(0),MAX_TABLES); my_error(ER_TOO_MANY_TABLES,MYF(0),MAX_TABLES);
......
...@@ -7928,7 +7928,9 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond) ...@@ -7928,7 +7928,9 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond)
sel->head=tab->table; sel->head=tab->table;
DBUG_EXECUTE("where", DBUG_EXECUTE("where",
print_where(tmp,tab->table->alias.c_ptr(), print_where(tmp,
tab->table ? tab->table->alias.c_ptr() :
"(sjm-nest)",
QT_ORDINARY);); QT_ORDINARY););
if (tab->quick) if (tab->quick)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment