Commit c8abf3e6 authored by Sergei Golubchik's avatar Sergei Golubchik

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

parent 84c96a26
...@@ -4514,6 +4514,10 @@ int get_all_tables(THD *thd, TABLE_LIST *tables, COND *cond) ...@@ -4514,6 +4514,10 @@ int get_all_tables(THD *thd, TABLE_LIST *tables, COND *cond)
table_name, with_i_schema)) table_name, with_i_schema))
continue; continue;
} }
else if (schema_table_idx == SCH_TRIGGERS && with_i_schema)
{
continue;
}
else else
{ {
if (!(table_open_method & ~OPEN_FRM_ONLY) && if (!(table_open_method & ~OPEN_FRM_ONLY) &&
......
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