File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3774,7 +3774,9 @@ Rdb_table_handler* Rdb_open_tables_map::get_table_handler(
3774
3774
}
3775
3775
3776
3776
thr_lock_init (&table_handler->m_thr_lock );
3777
+ #ifdef MARIAROCKS_NOT_YET
3777
3778
my_io_perf_atomic_init (&table_handler->m_io_perf_read );
3779
+ #endif
3778
3780
}
3779
3781
DBUG_ASSERT (table_handler->m_ref_count >= 0 );
3780
3782
table_handler->m_ref_count ++;
Original file line number Diff line number Diff line change @@ -209,6 +209,7 @@ void Rdb_io_perf::end_and_record(uint32_t perf_context_level)
209
209
rocksdb::perf_context.block_read_count != 0 ||
210
210
rocksdb::perf_context.block_read_time != 0 ))
211
211
{
212
+ #ifdef MARIAROCKS_NOT_YET
212
213
my_io_perf_t io_perf_read;
213
214
214
215
my_io_perf_init (&io_perf_read);
@@ -223,7 +224,6 @@ void Rdb_io_perf::end_and_record(uint32_t perf_context_level)
223
224
rocksdb::perf_context.block_read_time ;
224
225
225
226
my_io_perf_sum_atomic_helper (m_shared_io_perf_read, &io_perf_read);
226
- #ifdef MARIAROCKS_NOT_YET
227
227
my_io_perf_sum (&m_stats->table_io_perf_read , &io_perf_read);
228
228
#endif
229
229
}
You can’t perform that action at this time.
0 commit comments