summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2015-05-29 17:19:53 +0300
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2015-06-30 13:17:09 +0300
commitd817267ae6469f3cccbe08a55c5d10afd1bdb42f (patch)
treee5e2e679877197de8c381215c793c778282be57a /sql/sql_class.h
parent50955075bba0c9623f362dce9496fa914ff45df5 (diff)
downloadmariadb-git-10.1-MDEV-6877-binlog_row_image.tar.gz
[MDEV-6877] Change replication event loop to account for empty events10.1-MDEV-6877-binlog_row_image
When writing rows with a minimal row image, it is possible to receive empty events. In that case m_curr_row and m_rows_end are the same, however the event implies an insert into the table with the default values associated for that table.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 5f5501f8f91..a8dcac7ddf7 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -2132,7 +2132,7 @@ public:
const uchar *buf);
int binlog_update_row(TABLE* table, bool is_transactional,
const uchar *old_data, const uchar *new_data);
- void binlog_prepare_row_images(TABLE* table);
+ static void binlog_prepare_row_images(TABLE* table);
void set_server_id(uint32 sid) { variables.server_id = sid; }