From a7091b0679bed9f58609c173e4b036a51c69b730 Mon Sep 17 00:00:00 2001 From: Sergei Petrunia Date: Sun, 16 Oct 2016 11:17:19 +0000 Subject: [PATCH] Temporarily disable Read-Free replication in MariaRocks, part#2 (Squash with 4be8cae56afd7a31eb2477e9e4fe1c814748b06d) --- storage/rocksdb/ha_rocksdb.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage/rocksdb/ha_rocksdb.cc b/storage/rocksdb/ha_rocksdb.cc index 47cd72e1853..949e3017a4f 100644 --- a/storage/rocksdb/ha_rocksdb.cc +++ b/storage/rocksdb/ha_rocksdb.cc @@ -7299,6 +7299,7 @@ int ha_rocksdb::write_row(uchar *buf) */ void ha_rocksdb::set_last_rowkey(const uchar *old_data) { +#ifdef MARIAROCKS_NOT_YET if (old_data && use_read_free_rpl()) { int old_pk_size= m_pk_descr->pack_record( @@ -7306,6 +7307,7 @@ void ha_rocksdb::set_last_rowkey(const uchar *old_data) m_last_rowkey.copy((const char*)m_pk_packed_tuple, old_pk_size, &my_charset_bin); } +#endif } int ha_rocksdb::get_pk_for_update(struct update_row_info* row_info)