summaryrefslogtreecommitdiff
path: root/sql/rpl_utility.h
diff options
context:
space:
mode:
authorMats Kindahl <mats@sun.com>2010-03-17 19:15:41 +0100
committerMats Kindahl <mats@sun.com>2010-03-17 19:15:41 +0100
commit96d4a0384629e5cddc93ee215e7af484e4b95bde (patch)
treea3ede97cb903df372ac9f7a5733905d7d9b19301 /sql/rpl_utility.h
parentae49d9710b791d1eaf7f552a44067c5108bd8c85 (diff)
parent2c5f439d651f00f2f13d1f8e94f3701dadf9c7d3 (diff)
downloadmariadb-git-96d4a0384629e5cddc93ee215e7af484e4b95bde.tar.gz
Merging with mysql-5.1-bugteam
Diffstat (limited to 'sql/rpl_utility.h')
-rw-r--r--sql/rpl_utility.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/sql/rpl_utility.h b/sql/rpl_utility.h
index d011e9aade8..b209c9140d1 100644
--- a/sql/rpl_utility.h
+++ b/sql/rpl_utility.h
@@ -32,12 +32,6 @@ class Relay_log_info;
- Extract and decode table definition data from the table map event
- Check if table definition in table map is compatible with table
definition on slave
-
- Currently, the only field type data available is an array of the
- type operators that are present in the table map event.
-
- @todo Add type operands to this structure to allow detection of
- difference between, e.g., BIT(5) and BIT(10).
*/
class table_def
@@ -59,9 +53,9 @@ public:
@param null_bitmap The bitmap of fields that can be null
*/
table_def(field_type *types, ulong size, uchar *field_metadata,
- int metadata_size, uchar *null_bitmap)
+ int metadata_size, uchar *null_bitmap, uint16 flags)
: m_size(size), m_type(0), m_field_metadata_size(metadata_size),
- m_field_metadata(0), m_null_bits(0), m_memory(NULL)
+ m_field_metadata(0), m_null_bits(0), m_flags(flags), m_memory(NULL)
{
m_memory= (uchar *)my_multi_malloc(MYF(MY_WME),
&m_type, size,
@@ -247,6 +241,7 @@ private:
uint m_field_metadata_size;
uint16 *m_field_metadata;
uchar *m_null_bits;
+ uint16 m_flags; // Table flags
uchar *m_memory;
};