diff options
author | unknown <lars@mysql.com> | 2006-02-24 15:38:20 +0100 |
---|---|---|
committer | unknown <lars@mysql.com> | 2006-02-24 15:38:20 +0100 |
commit | dededdec0ab3ebebd1fb1f9c346664cc49d34b78 (patch) | |
tree | 02eba34e6aef1c7d7db5a43c95c3bcdd6405a9ae /sql/log_event.h | |
parent | b9697b20564a39d75c71bcce8cb4ec468c4ca710 (diff) | |
download | mariadb-git-dededdec0ab3ebebd1fb1f9c346664cc49d34b78.tar.gz |
BUG#13418 (V2): Bit columns should replicate correctly when using RBR
mysql-test/r/rpl_bit_npk.result:
Updated results
mysql-test/t/disabled.def:
rpl_bit_npk now works
sql/field.h:
Field_bit::cmp_binary_offset wrongly used base class method that does not work for Field_bit
This was discussed with Monty and should be pushed into 5.0 too
sql/log_event.cc:
Added checks for null bits
Swapped use of m_after_image (was m_search_record) and table->record[1] to use record[i]
in the same way as other MySQL code (i.e. use record[1] for scan data).
Removed use of cmp_binary in record_compare (it is currently wrong to use that
without copying the null bits to the compare data record)
sql/log_event.h:
Name change to indicate new semantics
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index a7c532d4c24..0d55b08a382 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -2012,7 +2012,7 @@ private: #if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION) gptr m_memory; - byte *m_search_record; + byte *m_after_image; virtual int do_before_row_operations(TABLE *table); virtual int do_after_row_operations(TABLE *table, int error); @@ -2076,7 +2076,7 @@ private: #if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION) gptr m_memory; byte *m_key; - byte *m_search_record; + byte *m_after_image; virtual int do_before_row_operations(TABLE *table); virtual int do_after_row_operations(TABLE *table, int error); @@ -2146,7 +2146,7 @@ private: #if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION) gptr m_memory; byte *m_key; - byte *m_search_record; + byte *m_after_image; virtual int do_before_row_operations(TABLE *table); virtual int do_after_row_operations(TABLE *table, int error); |