Skip to content

Commit

Permalink
Fix Mroonga compilation
Browse files Browse the repository at this point in the history
Fixed warnings: -Woverloaded-virtual, -Winconsistent-missing-override

Caused by c9cba59
  • Loading branch information
midenok committed Oct 10, 2019
1 parent cb3f856 commit 3c78d1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sql/handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -3688,7 +3688,7 @@ class handler :public Sql_alloc
DBUG_PRINT("info",("auto_increment: next value %lu", (ulong)id));
next_insert_id= id;
}
void restore_auto_increment(ulonglong prev_insert_id)
virtual void restore_auto_increment(ulonglong prev_insert_id)
{
/*
Insertion of a row failed, re-use the lastly generated auto_increment
Expand Down
2 changes: 1 addition & 1 deletion storage/mroonga/ha_mroonga.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ class ha_mroonga: public handler
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;
void restore_auto_increment(ulonglong prev_insert_id);
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;
#ifdef MRN_HANDLER_HAVE_RESET_AUTO_INCREMENT
Expand Down

0 comments on commit 3c78d1b

Please sign in to comment.