Skip to content
Permalink
Browse files

Fix gcc-8 warning in rocksdb

  • Loading branch information...
robertbindar committed Jul 3, 2019
1 parent a946b36 commit 666730ee5210dab845bb02bce023e24991ad0684
Showing with 1 addition and 1 deletion.
  1. +1 −1 storage/rocksdb/ha_rocksdb.cc
@@ -800,7 +800,7 @@ static void rocksdb_set_rocksdb_stats_level(THD *const thd,

RDB_MUTEX_LOCK_CHECK(rdb_sysvars_mutex);
rocksdb_db_options->statistics->set_stats_level(
static_cast<const rocksdb::StatsLevel>(
static_cast<rocksdb::StatsLevel>(
*static_cast<const uint64_t *>(save)));
// Actual stats level is defined at rocksdb dbopt::statistics::stats_level_
// so adjusting rocksdb_stats_level here to make sure it points to

0 comments on commit 666730e

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