summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/table.h b/sql/table.h
index fa88a2c4cfb..38a33886869 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -616,12 +616,14 @@ struct TABLE_SHARE
struct
{
/**
- Protects ref_count and m_flush_tickets.
+ Protects ref_count, m_flush_tickets, all_tables, free_tables, flushed,
+ all_tables_refs.
*/
mysql_mutex_t LOCK_table_share;
mysql_cond_t COND_release;
TABLE_SHARE *next, **prev; /* Link to unused shares */
uint ref_count; /* How many TABLE objects uses this */
+ uint all_tables_refs; /* Number of refs to all_tables */
/**
List of tickets representing threads waiting for the share to be flushed.
*/