summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2019-10-10 13:35:32 +0300
committerAleksey Midenkov <midenok@gmail.com>2019-10-10 13:37:02 +0300
commit545c5452063ec9fc8a2f770512002f6c67c96770 (patch)
treec3e05666a5c5e8ef77956fb07049c555deef754d /storage
parent3c78d1b640f545025235bf52a0bde987817c3685 (diff)
downloadmariadb-git-545c5452063ec9fc8a2f770512002f6c67c96770.tar.gz
Fix compilation 2 (GCC 9)
Fixed warning: -Woverloaded-virtual for GCC 9 (Clang treats it differently) Caused by c9cba59749e1b5a39a9e3a0a5b8bd762507245f9
Diffstat (limited to 'storage')
-rw-r--r--storage/mroonga/ha_mroonga.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/mroonga/ha_mroonga.hpp b/storage/mroonga/ha_mroonga.hpp
index f2fb2bfe8e7..e1dbb63178e 100644
--- a/storage/mroonga/ha_mroonga.hpp
+++ b/storage/mroonga/ha_mroonga.hpp
@@ -571,6 +571,11 @@ public:
void set_next_insert_id(ulonglong id);
void get_auto_increment(ulonglong offset, ulonglong increment, ulonglong nb_desired_values,
ulonglong *first_value, ulonglong *nb_reserved_values) mrn_override;
+ /** Fix spurious -Werror=overloaded-virtual in GCC 9 */
+ void restore_auto_increment() mrn_override
+ {
+ handler::restore_auto_increment();
+ }
void restore_auto_increment(ulonglong prev_insert_id) mrn_override;
void release_auto_increment() mrn_override;
int check_for_upgrade(HA_CHECK_OPT *check_opt) mrn_override;