summaryrefslogtreecommitdiff
path: root/storage/rocksdb/ha_rocksdb.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2019-06-20 15:29:17 +0300
committerSergei Petrunia <psergey@askmonty.org>2019-06-20 15:29:17 +0300
commita2e9e3fbd485181a4db679a163167b9a833e67ad (patch)
tree2bc733dbadab50219d33292c0952e7411693d014 /storage/rocksdb/ha_rocksdb.h
parent7f845c6653b8ce3d13ab327e1f5feb53c3c47ea1 (diff)
downloadmariadb-git-a2e9e3fbd485181a4db679a163167b9a833e67ad.tar.gz
MyRocks: dont show read-Free replication variables
MariaDB doesn't support Read-Free replication, so showing them only causes confusion. Removed variables: - @@rocksdb_read_free_rpl - @@rocksdb_read_free_rpl_tables
Diffstat (limited to 'storage/rocksdb/ha_rocksdb.h')
-rw-r--r--storage/rocksdb/ha_rocksdb.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/storage/rocksdb/ha_rocksdb.h b/storage/rocksdb/ha_rocksdb.h
index 98e6b6212d1..437c8667994 100644
--- a/storage/rocksdb/ha_rocksdb.h
+++ b/storage/rocksdb/ha_rocksdb.h
@@ -91,12 +91,13 @@ enum collations_used {
COLLATION_UTF8_BIN = 83
};
-
+#if 0 // MARIAROCKS_NOT_YET : read-free replication is not supported
extern char *rocksdb_read_free_rpl_tables;
#if defined(HAVE_PSI_INTERFACE)
extern PSI_rwlock_key key_rwlock_read_free_rpl_tables;
#endif
extern Regex_list_handler rdb_read_free_regex_handler;
+#endif
/**
@brief
@@ -969,10 +970,10 @@ public:
TABLE *const altered_table,
my_core::Alter_inplace_info *const ha_alter_info, bool commit) override;
-#ifdef MARIAROCKS_NOT_YET // MDEV-10976
-#endif
void set_skip_unique_check_tables(const char *const whitelist);
+#ifdef MARIAROCKS_NOT_YET // MDEV-10976
bool is_read_free_rpl_table() const;
+#endif
#ifdef MARIAROCKS_NOT_YET // MDEV-10976
public: