diff options
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/table.h b/sql/table.h index ceffdcc9dc7..1f7df0c6d64 100644 --- a/sql/table.h +++ b/sql/table.h @@ -19,6 +19,7 @@ class Item; /* Needed by ORDER */ class GRANT_TABLE; +class st_select_lex_unit; /* Order clause list element */ @@ -161,7 +162,7 @@ typedef struct st_table_list TABLE *table; /* opened table */ st_table_list *table_list; /* pointer to node of list of all tables */ }; - void *derived; /* SELECT_LEX_UNIT of derived table */ + class st_select_lex_unit *derived; /* SELECT_LEX_UNIT of derived table */ GRANT_INFO grant; thr_lock_type lock_type; uint outer_join; /* Which join type */ |