don't open and fill all I_S tables for SELECT * FROM I_S.TRIGGERS

This commit is contained in:
Sergei Golubchik 2014-02-17 11:09:40 +01:00
parent 84c96a263e
commit c8abf3e6de

View File

@ -4514,6 +4514,10 @@ int get_all_tables(THD *thd, TABLE_LIST *tables, COND *cond)
table_name, with_i_schema))
continue;
}
else if (schema_table_idx == SCH_TRIGGERS && with_i_schema)
{
continue;
}
else
{
if (!(table_open_method & ~OPEN_FRM_ONLY) &&