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-22 10:35:48 +0300
commitd1634c66ea85a7388ac54799613feb30e8733848 (patch)
treea9fee95a6fc87b96c27f303fe9119d9b3904dd51 /sql/sql_class.h
parent563e35ad27ac315548e47b40c72b5ec2e4bc9250 (diff)
downloadmariadb-git-bb-10.1-binlog_row_image.tar.gz
[MDEV-6877] Change replication event loop to account for empty eventsbb-10.1-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 b422b0b7319..5744c9826b6 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -2130,7 +2130,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; }