diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2009-08-13 03:43:02 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2009-08-13 03:43:02 +0400 |
commit | b032c7d833d8f4de7eef714fc43ade84d53537a7 (patch) | |
tree | 003a21bdeadf9a70866e1f0b279d4f8350d09dd5 /sql/item.h | |
parent | 854bb82bd81afa6decc436b9ecf6af4954efebe5 (diff) | |
download | mariadb-git-b032c7d833d8f4de7eef714fc43ade84d53537a7.tar.gz |
MWL#17: Table elimination
- Continue addressing review feedback: remove "unusable KEYUSEs"
extension as it is no longer needed.
sql/item.h:
MWL#17: Table elimination
- Code cleanup
sql/opt_table_elimination.cc:
MWL#17: Table elimination
- Code cleanup
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sql/item.h b/sql/item.h index 53ae8ab8826..205c72ede9c 100644 --- a/sql/item.h +++ b/sql/item.h @@ -1017,18 +1017,6 @@ public: bool eq_by_collation(Item *item, bool binary_cmp, CHARSET_INFO *cs); }; -#if 0 -typedef struct -{ - TABLE *table; /* Table of interest */ - uint keyno; /* Index of interest */ - uint forbidden_part; /* key part which one is not allowed to refer to */ - /* [Set by processor] used tables, besides the table of interest */ - table_map used_tables; - /* [Set by processor] Parts of index of interest that expression refers to */ - uint needed_key_parts; -} Field_processor_info; -#endif /* Data for Item::check_column_usage_processor */ class Field_enumerator |