Commit adcfea71 authored by Sergei Petrunia's avatar Sergei Petrunia

Fix compile failure, compare_key_parts in handler shadowed by MyRocks

The two functions have different signature.
Use "using ..." to prevent shadowing
parent 2fb881df
......@@ -739,6 +739,7 @@ class ha_rocksdb : public my_core::handler {
const TABLE *old_table_arg, const Rdb_tbl_def *old_tbl_def_arg) const
MY_ATTRIBUTE((__nonnull__));
using handler::compare_key_parts;
int compare_key_parts(const KEY *const old_key,
const KEY *const new_key) const
MY_ATTRIBUTE((__nonnull__, __warn_unused_result__));
......
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