Commit cd7cd6f4 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4855 compile the handlerton on mysql 5.6.6 refs[t:4855]

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43497 c7de825b-a66e-492c-adef-691d508d4ae1
parent fd565205
...@@ -7715,7 +7715,9 @@ void ha_tokudb::restore_add_index(TABLE* table_arg, uint num_of_keys, bool incre ...@@ -7715,7 +7715,9 @@ void ha_tokudb::restore_add_index(TABLE* table_arg, uint num_of_keys, bool incre
} }
} }
#if MYSQL_VERSION_ID >= 50521 #if MYSQL_VERSION_ID >= 50606
#elif MYSQL_VERSION_ID >= 50521
class ha_tokudb_add_index : public handler_add_index class ha_tokudb_add_index : public handler_add_index
{ {
......
...@@ -557,7 +557,8 @@ class ha_tokudb : public handler { ...@@ -557,7 +557,8 @@ class ha_tokudb : public handler {
int cmp_ref(const uchar * ref1, const uchar * ref2); int cmp_ref(const uchar * ref1, const uchar * ref2);
bool check_if_incompatible_data(HA_CREATE_INFO * info, uint table_changes); bool check_if_incompatible_data(HA_CREATE_INFO * info, uint table_changes);
#if MYSQL_VERSION_ID >= 50521 #if MYSQL_VERSION_ID >= 50606
#elif MYSQL_VERSION_ID >= 50521
int add_index(TABLE *table_arg, KEY *key_info, uint num_of_keys, handler_add_index **add); int add_index(TABLE *table_arg, KEY *key_info, uint num_of_keys, handler_add_index **add);
int final_add_index(handler_add_index *add, bool commit); int final_add_index(handler_add_index *add, bool commit);
#else #else
......
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