diff options
author | He Zhenxing <zhenxing.he@sun.com> | 2010-05-08 11:25:33 +0800 |
---|---|---|
committer | He Zhenxing <zhenxing.he@sun.com> | 2010-05-08 11:25:33 +0800 |
commit | 455f754e6ba4de3d3b527aad6ac317b7e5994b86 (patch) | |
tree | 988fc8110d8d9d14f34a21c313061c0b9ebfbc94 /sql/log.h | |
parent | 31a79ec3c6237df2bc42f93528e41374e44d1055 (diff) | |
download | mariadb-git-455f754e6ba4de3d3b527aad6ac317b7e5994b86.tar.gz |
Bug#53189 Table map version unused and can be removed
MYSQL_BIN_LOG m_table_map_version member and it's associated
functions were not used in the logic of binlogging and replication,
this patch removed all related code.
Diffstat (limited to 'sql/log.h')
-rw-r--r-- | sql/log.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sql/log.h b/sql/log.h index 8b5dfcb3935..5af51e14d80 100644 --- a/sql/log.h +++ b/sql/log.h @@ -272,8 +272,6 @@ class MYSQL_BIN_LOG: public TC_LOG, private MYSQL_LOG */ bool no_auto_events; - ulonglong m_table_map_version; - int write_to_file(IO_CACHE *cache); /* This is used to start writing to a new log file. The difference from @@ -314,14 +312,6 @@ public: void unlog(ulong cookie, my_xid xid); int recover(IO_CACHE *log, Format_description_log_event *fdle); #if !defined(MYSQL_CLIENT) - bool is_table_mapped(TABLE *table) const - { - return table->s->table_map_version == table_map_version(); - } - - ulonglong table_map_version() const { return m_table_map_version; } - void update_table_map_version() { ++m_table_map_version; } - int flush_and_set_pending_rows_event(THD *thd, Rows_log_event* event); int remove_pending_rows_event(THD *thd); |