diff options
author | mats@romeo.(none) <> | 2007-02-26 17:44:55 +0100 |
---|---|---|
committer | mats@romeo.(none) <> | 2007-02-26 17:44:55 +0100 |
commit | 62f8230938044442927e0b8f62654a8c00eba6b7 (patch) | |
tree | ae16b56efa7b45a7beb603a53d024a4de87db6af /sql/rpl_utility.h | |
parent | 959b881022aa6c68efda1e79b9a80c1016528301 (diff) | |
download | mariadb-git-62f8230938044442927e0b8f62654a8c00eba6b7.tar.gz |
BUG#26634 (Valgrind failure in tree: memory loss for memory allocated in rpl_utility.h):
Adding code to release allocated memory when tables_to_lock list is
cleared.
Diffstat (limited to 'sql/rpl_utility.h')
-rw-r--r-- | sql/rpl_utility.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/rpl_utility.h b/sql/rpl_utility.h index 8694b5724f9..b1aa642619c 100644 --- a/sql/rpl_utility.h +++ b/sql/rpl_utility.h @@ -22,6 +22,9 @@ #include "mysql_priv.h" +struct st_relay_log_info; +typedef st_relay_log_info RELAY_LOG_INFO; + uint32 field_length_from_packed(enum_field_types field_type, byte const *data); @@ -128,6 +131,7 @@ private: struct RPL_TABLE_LIST : public st_table_list { + bool m_tabledef_valid; table_def m_tabledef; }; |