Commit 575afea7 authored by Sergei Petrunia's avatar Sergei Petrunia

MyRocks: Remove todo-#ifdef in Rdb_trx_info_aggregator::process_tran

parent fba53e77
...@@ -3143,11 +3143,7 @@ class Rdb_trx_info_aggregator : public Rdb_tx_list_walker { ...@@ -3143,11 +3143,7 @@ class Rdb_trx_info_aggregator : public Rdb_tx_list_walker {
const auto state_it = state_map.find(rdb_trx->GetState()); const auto state_it = state_map.find(rdb_trx->GetState());
DBUG_ASSERT(state_it != state_map.end()); DBUG_ASSERT(state_it != state_map.end());
#ifdef MARIAROCKS_NOT_YET const int is_replication = (thd->rgi_slave != nullptr);
const int is_replication = (thd->rli_slave != nullptr);
#else
const int is_replication= false;
#endif
uint32_t waiting_cf_id; uint32_t waiting_cf_id;
std::string waiting_key; std::string waiting_key;
rdb_trx->GetWaitingTxns(&waiting_cf_id, &waiting_key), rdb_trx->GetWaitingTxns(&waiting_cf_id, &waiting_key),
......
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