summaryrefslogtreecommitdiff
path: root/storage/rocksdb/rdb_mariadb_port.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2017-08-17 22:59:41 +0300
committerSergei Petrunia <psergey@askmonty.org>2017-08-25 11:55:12 +0300
commit765519694d2c1515c56f7f7aadaf8004b5ad8a45 (patch)
treeb6a4eb293812e9ee1b32dd9a673344b1bf753e55 /storage/rocksdb/rdb_mariadb_port.h
parenta544225d0a772bd4b67c96f5861ecc0ef7e69bba (diff)
downloadmariadb-git-765519694d2c1515c56f7f7aadaf8004b5ad8a45.tar.gz
Enable basic XA between MyRocks and the binlog
This allows basic master crash-safety - Un-comment and update relevant parts of the code - Make rocksdb_rpl suite work like other MyRocks testsuites (load the MyRocks plugin, don't start if it is not compiled in, etc) - For now, disable all tests in the rocksdb_rpl suite. - MariaDB-fication of rpl_rocksdb_2p_crash_recover test.
Diffstat (limited to 'storage/rocksdb/rdb_mariadb_port.h')
-rw-r--r--storage/rocksdb/rdb_mariadb_port.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/rocksdb/rdb_mariadb_port.h b/storage/rocksdb/rdb_mariadb_port.h
index 1661338030f..627674905cc 100644
--- a/storage/rocksdb/rdb_mariadb_port.h
+++ b/storage/rocksdb/rdb_mariadb_port.h
@@ -49,4 +49,7 @@ typedef struct my_io_perf_struct my_io_perf_t;
std::vector<std::string> split_into_vector(const std::string& input,
char delimiter);
+void
+mysql_bin_log_commit_pos(THD *thd, ulonglong *out_pos, const char **out_file);
+
#endif