Fix compile failure, compare_key_parts in handler shadowed by MyRocks

The two functions have different signature.
Use "using ..." to prevent shadowing
This commit is contained in:
Sergei Petrunia 2020-02-19 14:57:47 +03:00
parent 2fb881df1d
commit adcfea710f

View file

@ -739,6 +739,7 @@ public:
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__));