summaryrefslogtreecommitdiff
path: root/sql/wsrep_binlog.h
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2015-04-01 18:25:40 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2015-04-01 18:25:40 -0400
commit575dd775046b7dd53330bcb01b81dceeffeb2e88 (patch)
treee06f331bd2be8fe13fcb51b6a0633f09098dc393 /sql/wsrep_binlog.h
parentcbc5157feb9801310e458f7ed10983ad478c881e (diff)
downloadmariadb-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.h7
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 */