Skip to content
Permalink
Browse files

MariaRocks: disable more of my_io_perf_t usage

  • Loading branch information...
spetrunia committed Oct 16, 2016
1 parent fdf026a commit 0a132ae7a29d21397ff7cf031f7fdc42d218a01f
Showing with 3 additions and 1 deletion.
  1. +2 −0 storage/rocksdb/ha_rocksdb.cc
  2. +1 −1 storage/rocksdb/rdb_perf_context.cc
@@ -3774,7 +3774,9 @@ Rdb_table_handler* Rdb_open_tables_map::get_table_handler(
}

thr_lock_init(&table_handler->m_thr_lock);
#ifdef MARIAROCKS_NOT_YET
my_io_perf_atomic_init(&table_handler->m_io_perf_read);
#endif
}
DBUG_ASSERT(table_handler->m_ref_count >= 0);
table_handler->m_ref_count++;
@@ -209,6 +209,7 @@ void Rdb_io_perf::end_and_record(uint32_t perf_context_level)
rocksdb::perf_context.block_read_count != 0 ||
rocksdb::perf_context.block_read_time != 0))
{
#ifdef MARIAROCKS_NOT_YET
my_io_perf_t io_perf_read;

my_io_perf_init(&io_perf_read);
@@ -223,7 +224,6 @@ void Rdb_io_perf::end_and_record(uint32_t perf_context_level)
rocksdb::perf_context.block_read_time;

my_io_perf_sum_atomic_helper(m_shared_io_perf_read, &io_perf_read);
#ifdef MARIAROCKS_NOT_YET
my_io_perf_sum(&m_stats->table_io_perf_read, &io_perf_read);
#endif
}

0 comments on commit 0a132ae

Please sign in to comment.
You can’t perform that action at this time.