Commit 3c78d1b6 authored by Aleksey Midenkov's avatar Aleksey Midenkov

Fix Mroonga compilation

Fixed warnings: -Woverloaded-virtual, -Winconsistent-missing-override

Caused by c9cba597
parent cb3f856e
...@@ -3688,7 +3688,7 @@ class handler :public Sql_alloc ...@@ -3688,7 +3688,7 @@ class handler :public Sql_alloc
DBUG_PRINT("info",("auto_increment: next value %lu", (ulong)id)); DBUG_PRINT("info",("auto_increment: next value %lu", (ulong)id));
next_insert_id= 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 Insertion of a row failed, re-use the lastly generated auto_increment
......
...@@ -571,7 +571,7 @@ public: ...@@ -571,7 +571,7 @@ public:
void set_next_insert_id(ulonglong id); void set_next_insert_id(ulonglong id);
void get_auto_increment(ulonglong offset, ulonglong increment, ulonglong nb_desired_values, void get_auto_increment(ulonglong offset, ulonglong increment, ulonglong nb_desired_values,
ulonglong *first_value, ulonglong *nb_reserved_values) mrn_override; 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; void release_auto_increment() mrn_override;
int check_for_upgrade(HA_CHECK_OPT *check_opt) mrn_override; int check_for_upgrade(HA_CHECK_OPT *check_opt) mrn_override;
#ifdef MRN_HANDLER_HAVE_RESET_AUTO_INCREMENT #ifdef MRN_HANDLER_HAVE_RESET_AUTO_INCREMENT
......
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