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

This commit is contained in:
Sergei Petrunia 2017-08-18 16:22:05 +03:00
parent fba53e7775
commit 575afea786

View file

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