Commit a7091b06 authored by Sergei Petrunia's avatar Sergei Petrunia

Temporarily disable Read-Free replication in MariaRocks, part#2

(Squash with 4be8cae5)
parent d2628345
...@@ -7299,6 +7299,7 @@ int ha_rocksdb::write_row(uchar *buf) ...@@ -7299,6 +7299,7 @@ int ha_rocksdb::write_row(uchar *buf)
*/ */
void ha_rocksdb::set_last_rowkey(const uchar *old_data) void ha_rocksdb::set_last_rowkey(const uchar *old_data)
{ {
#ifdef MARIAROCKS_NOT_YET
if (old_data && use_read_free_rpl()) if (old_data && use_read_free_rpl())
{ {
int old_pk_size= m_pk_descr->pack_record( int old_pk_size= m_pk_descr->pack_record(
...@@ -7306,6 +7307,7 @@ void ha_rocksdb::set_last_rowkey(const uchar *old_data) ...@@ -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, m_last_rowkey.copy((const char*)m_pk_packed_tuple, old_pk_size,
&my_charset_bin); &my_charset_bin);
} }
#endif
} }
int ha_rocksdb::get_pk_for_update(struct update_row_info* row_info) int ha_rocksdb::get_pk_for_update(struct update_row_info* row_info)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment