[Commits] 24860d75051: Issue #790, MyRocks/MRR: address more review input: don't release m_retrieved_record
revision-id: 24860d7505161c15a1d4b3b76519dbcfa0298c2c (fb-prod201903-172-g24860d75051) parent(s): caaf170ba4210bf614140d88c0fa108dff063b0d author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2019-10-21 19:42:18 +0200 message: Issue #790, MyRocks/MRR: address more review input: don't release m_retrieved_record Keep the m_retrieved_record pinned. --- storage/rocksdb/ha_rocksdb.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/storage/rocksdb/ha_rocksdb.cc b/storage/rocksdb/ha_rocksdb.cc index 1ae5c1d6989..e32d1bfa93f 100644 --- a/storage/rocksdb/ha_rocksdb.cc +++ b/storage/rocksdb/ha_rocksdb.cc @@ -15570,14 +15570,10 @@ int ha_rocksdb::multi_range_read_next(char **range_info) { if (m_pk_descr->has_ttl() && should_hide_ttl_rec(*m_pk_descr, m_retrieved_record, tx->m_snapshot_timestamp)) { - m_retrieved_record.Reset(); - mrr_values[cur_key].Reset(); continue; } rc = convert_record_from_storage_format(&rowkey, table->record[0]); - m_retrieved_record.Reset(); - mrr_values[cur_key].Reset(); break; } table->status = rc ? STATUS_NOT_FOUND : 0;
participants (1)
-
Sergei Petrunia