summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2017-07-31 11:42:48 +0300
committerEugene Kosov <claprix@yandex.ru>2017-07-31 11:44:12 +0300
commitd998da03069dca1aae83ec6af7eb407bbdc9fc58 (patch)
treeb2ff9aa3455f942cc2499c3973ea1db8ace2a8e1 /sql/log_event.h
parent88454b3320792a02b6d683e213e414d65fc6df8c (diff)
downloadmariadb-git-d998da03069dca1aae83ec6af7eb407bbdc9fc58.tar.gz
SQL: replication fixes [fixes #234]
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index e45151c8564..6a9ebae3a51 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -4588,6 +4588,8 @@ protected:
uchar *m_extra_row_data; /* Pointer to extra row data if any */
/* If non null, first byte is length */
+ bool m_vers_from_plain;
+
/* helper functions */
@@ -4737,6 +4739,7 @@ public:
__attribute__((unused)),
const uchar *after_record)
{
+ DBUG_ASSERT(!table->versioned_by_engine());
return thd->binlog_write_row(table, is_transactional, after_record);
}
#endif
@@ -4818,6 +4821,7 @@ public:
const uchar *before_record,
const uchar *after_record)
{
+ DBUG_ASSERT(!table->versioned_by_engine());
return thd->binlog_update_row(table, is_transactional,
before_record, after_record);
}
@@ -4907,6 +4911,7 @@ public:
const uchar *after_record
__attribute__((unused)))
{
+ DBUG_ASSERT(!table->versioned_by_engine());
return thd->binlog_delete_row(table, is_transactional,
before_record);
}