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_old.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_old.h')
-rw-r--r-- | sql/log_event_old.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sql/log_event_old.h b/sql/log_event_old.h index 7408e121f96..ed07f753e7a 100644 --- a/sql/log_event_old.h +++ b/sql/log_event_old.h @@ -369,14 +369,11 @@ public: #if !defined(MYSQL_CLIENT) 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 @@ -452,7 +449,7 @@ public: const uchar *after_record) { return thd->binlog_update_row(table, is_transactional, - cols, fields, before_record, after_record); + before_record, after_record); } #endif @@ -526,8 +523,7 @@ public: const uchar *after_record __attribute__((unused))) { - return thd->binlog_delete_row(table, is_transactional, - cols, fields, before_record); + return thd->binlog_delete_row(table, is_transactional, before_record); } #endif |