diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2015-04-02 23:03:30 +0300 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2015-06-30 13:17:09 +0300 |
commit | 8bd5301a1e89aae84791c00fe810c8af7429b734 (patch) | |
tree | cc19a4e535171dbd744cdb71dc03cb6e3965d832 /sql/log_event.h | |
parent | edff3f3fa91eb0433d94385cbe119e62c4a2afdb (diff) | |
download | mariadb-git-8bd5301a1e89aae84791c00fe810c8af7429b734.tar.gz |
[MDEV-6877] Add binlog writing according to columns
The logging function now writes to the binlog according
to the bitmap columns implied by the binlog_row_image variable.
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index 6c6fb1f4381..9abbf8ad424 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -4528,14 +4528,11 @@ public: #if defined(MYSQL_SERVER) static bool binlog_row_logging_function(THD *thd, TABLE *table, bool is_transactional, - MY_BITMAP *cols, - uint fields, const uchar *before_record __attribute__((unused)), const uchar *after_record) { - return thd->binlog_write_row(table, is_transactional, - cols, fields, after_record); + return thd->binlog_write_row(table, is_transactional, after_record); } #endif @@ -4596,13 +4593,11 @@ public: #ifdef MYSQL_SERVER static bool binlog_row_logging_function(THD *thd, TABLE *table, bool is_transactional, - MY_BITMAP *cols, - uint fields, const uchar *before_record, const uchar *after_record) { return thd->binlog_update_row(table, is_transactional, - cols, fields, before_record, after_record); + before_record, after_record); } #endif @@ -4668,14 +4663,12 @@ public: #ifdef MYSQL_SERVER static bool binlog_row_logging_function(THD *thd, TABLE *table, bool is_transactional, - MY_BITMAP *cols, - uint fields, const uchar *before_record, const uchar *after_record __attribute__((unused))) { return thd->binlog_delete_row(table, is_transactional, - cols, fields, before_record); + before_record); } #endif |