diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2015-04-01 18:25:40 -0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2015-04-01 18:25:40 -0400 |
commit | 575dd775046b7dd53330bcb01b81dceeffeb2e88 (patch) | |
tree | e06f331bd2be8fe13fcb51b6a0633f09098dc393 /sql/wsrep_binlog.h | |
parent | cbc5157feb9801310e458f7ed10983ad478c881e (diff) | |
download | mariadb-git-575dd775046b7dd53330bcb01b81dceeffeb2e88.tar.gz |
MDEV-7867: Add binlog header to GRA_.log file
Diffstat (limited to 'sql/wsrep_binlog.h')
-rw-r--r-- | sql/wsrep_binlog.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/wsrep_binlog.h b/sql/wsrep_binlog.h index a3d8ec6ec2c..d8a2eb51d4a 100644 --- a/sql/wsrep_binlog.h +++ b/sql/wsrep_binlog.h @@ -49,11 +49,12 @@ void wsrep_dump_rbr_buf(THD *thd, const void* rbr_buf, size_t buf_len); /* Dump replication buffer to disk without intermediate buffer */ void wsrep_dump_rbr_direct(THD* thd, IO_CACHE* cache); +/* Dump replication buffer along with header to a file */ +void wsrep_dump_rbr_buf_with_header(THD *thd, const void *rbr_buf, + size_t buf_len); + int wsrep_binlog_close_connection(THD* thd); int wsrep_binlog_savepoint_set(THD *thd, void *sv); int wsrep_binlog_savepoint_rollback(THD *thd, void *sv); -/* Dump replication buffer to disk without intermediate buffer */ -void wsrep_dump_rbr_direct(THD* thd, IO_CACHE* cache); - #endif /* WSREP_BINLOG_H */ |