summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2009-08-13 03:43:02 +0400
committerSergey Petrunya <psergey@askmonty.org>2009-08-13 03:43:02 +0400
commitb032c7d833d8f4de7eef714fc43ade84d53537a7 (patch)
tree003a21bdeadf9a70866e1f0b279d4f8350d09dd5 /sql/item.h
parent854bb82bd81afa6decc436b9ecf6af4954efebe5 (diff)
downloadmariadb-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.h12
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