summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorSergey Petrunia <psergey@askmonty.org>2009-06-14 14:01:10 +0400
committerSergey Petrunia <psergey@askmonty.org>2009-06-14 14:01:10 +0400
commit652a1673fb655a6cd4b2ea4502138f0df5914b69 (patch)
tree9c6d7e35253a857ff7a07838e05617faedb8453a /sql/table.h
parenta875eb202c28496c089df5c00b9497b974ec2bab (diff)
downloadmariadb-git-652a1673fb655a6cd4b2ea4502138f0df5914b69.tar.gz
MWL#17: Table elimination
- Do not show eliminated tables in the output of EXPLAIN EXTENDED
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h3
1 files changed, 2 insertions, 1 deletions
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);