Commit 06ad00a4 authored by Sergei Golubchik's avatar Sergei Golubchik

compilation error with gcc 8.3.0

error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
parent d78a14c5
......@@ -799,7 +799,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
......
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