diff options
Diffstat (limited to 'sql/table_cache.h')
-rw-r--r-- | sql/table_cache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/table_cache.h b/sql/table_cache.h index a3e6715d5d0..2efc535c425 100644 --- a/sql/table_cache.h +++ b/sql/table_cache.h @@ -31,7 +31,9 @@ public: TABLE_SHARE *share; typedef I_P_List <TABLE, TABLE_share> TABLE_list; - typedef I_P_List <TABLE, All_share_tables> All_share_tables_list; + typedef I_P_List <TABLE, I_P_List_adapter<TABLE, &TABLE::share_all_next, + &TABLE::share_all_prev> > + All_share_tables_list; /** Protects ref_count, m_flush_tickets, all_tables, free_tables, flushed, all_tables_refs. |