diff options
author | unknown <cbell/Chuck@mysql_cab_desk.> | 2007-08-10 14:58:46 -0400 |
---|---|---|
committer | unknown <cbell/Chuck@mysql_cab_desk.> | 2007-08-10 14:58:46 -0400 |
commit | 7a9b90ce098633850bfb078e1b336a2b84add1e0 (patch) | |
tree | 90a22c1ae228bd8d695437e90dfb8d2469f53fc3 /sql/rpl_utility.h | |
parent | 78a52138c7aaee9ec67c1041d9b7ecd2e45fc79a (diff) | |
parent | 9ad300d50d531d930c649002ee34123b452ec526 (diff) | |
download | mariadb-git-7a9b90ce098633850bfb078e1b336a2b84add1e0.tar.gz |
Merge mysql_cab_desk.:C:/source/c++/mysql-5.1-new-rpl
into mysql_cab_desk.:C:/source/c++/mysql-5.1_BUG_22086
sql/field.cc:
Auto merged
sql/field.h:
Auto merged
sql/log_event.cc:
Auto merged
sql/rpl_utility.cc:
Auto merged
sql/rpl_utility.h:
Auto merged
Diffstat (limited to 'sql/rpl_utility.h')
-rw-r--r-- | sql/rpl_utility.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/rpl_utility.h b/sql/rpl_utility.h index d08f62363af..e0e78bf402b 100644 --- a/sql/rpl_utility.h +++ b/sql/rpl_utility.h @@ -61,7 +61,7 @@ public: */ table_def(field_type *types, ulong size, uchar *field_metadata, int metadata_size, uchar *null_bitmap) - : m_size(size), m_type(0), + : m_size(size), m_type(0), m_field_metadata_size(metadata_size), m_field_metadata(0), m_null_bits(0), m_memory(NULL) { m_memory= (uchar *)my_multi_malloc(MYF(MY_WME), @@ -194,7 +194,7 @@ public: uint16 field_metadata(uint index) const { DBUG_ASSERT(index < m_size); - if (m_field_metadata) + if (m_field_metadata_size) return m_field_metadata[index]; else return 0; @@ -243,6 +243,7 @@ private: ulong m_size; // Number of elements in the types array field_type *m_type; // Array of type descriptors uint16 *m_field_metadata; + uint m_field_metadata_size; uchar *m_null_bits; uchar *m_memory; }; |