lp:933959 Assertion `0' failed in net_end_statement(THD*) on concurrent SELECT FROM I_S.INNODB_SYS_INDEXES and ALTER TABLE

Workaround: report a generic error if an I_S plugin failed silently.
This commit is contained in:
Sergei Golubchik 2012-03-21 18:22:02 +01:00
commit d1f3117999

View file

@ -6275,6 +6275,8 @@ bool get_schema_tables_result(JOIN *join,
join->error= 1;
tab->read_record.file= table_list->table->file;
table_list->schema_table_state= executed_place;
if (!thd->is_error())
my_error(ER_UNKNOWN_ERROR, MYF(0));
break;
}
tab->read_record.file= table_list->table->file;