From 652a1673fb655a6cd4b2ea4502138f0df5914b69 Mon Sep 17 00:00:00 2001 From: Sergey Petrunia Date: Sun, 14 Jun 2009 14:01:10 +0400 Subject: MWL#17: Table elimination - Do not show eliminated tables in the output of EXPLAIN EXTENDED --- sql/table.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sql/table.h') diff --git a/sql/table.h b/sql/table.h index cc54daccf9d..f443d591dec 100644 --- a/sql/table.h +++ b/sql/table.h @@ -1366,7 +1366,8 @@ struct TABLE_LIST return (derived || view || schema_table || (create && !table->db_stat) || !table); } - void print(THD *thd, String *str, enum_query_type query_type); + void print(THD *thd, table_map eliminated_tables, String *str, + enum_query_type query_type); bool check_single_table(TABLE_LIST **table, table_map map, TABLE_LIST *view); bool set_insert_values(MEM_ROOT *mem_root); -- cgit v1.2.1