Navigation Menu

Skip to content

Commit

Permalink
Remove needless check for old MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 21, 2015
1 parent 9bf55bf commit 0e5f286
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions ha_mroonga.cpp
Expand Up @@ -16227,7 +16227,6 @@ int ha_mroonga::get_foreign_key_list(THD *thd,
DBUG_RETURN(res);
}

#ifdef MRN_HANDLER_HAVE_GET_PARENT_FOREIGN_KEY_LIST
int ha_mroonga::wrapper_get_parent_foreign_key_list(THD *thd,
List<FOREIGN_KEY_INFO> *f_key_list)
{
Expand Down Expand Up @@ -16262,7 +16261,6 @@ int ha_mroonga::get_parent_foreign_key_list(THD *thd,
}
DBUG_RETURN(res);
}
#endif

uint ha_mroonga::wrapper_referenced_by_foreign_key()
{
Expand Down
8 changes: 0 additions & 8 deletions ha_mroonga.hpp
Expand Up @@ -73,10 +73,6 @@ extern "C" {
# define MRN_HANDLER_HAVE_MULTI_RANGE_READ_INFO_KEY_PARTS
#endif

#if MYSQL_VERSION_ID >= 50500
# define MRN_HANDLER_HAVE_GET_PARENT_FOREIGN_KEY_LIST
#endif

#if MYSQL_VERSION_ID < 50600
# define MRN_HANDLER_HAVE_GET_TABLESPACE_NAME
#endif
Expand Down Expand Up @@ -571,9 +567,7 @@ class ha_mroonga: public handler
#endif
bool can_switch_engines();
int get_foreign_key_list(THD *thd, List<FOREIGN_KEY_INFO> *f_key_list);
#ifdef MRN_HANDLER_HAVE_GET_PARENT_FOREIGN_KEY_LIST
int get_parent_foreign_key_list(THD *thd, List<FOREIGN_KEY_INFO> *f_key_list);
#endif
uint referenced_by_foreign_key();
void init_table_handle_for_HANDLER();
void free_foreign_key_create_info(char* str);
Expand Down Expand Up @@ -1221,10 +1215,8 @@ class ha_mroonga: public handler
bool storage_can_switch_engines();
int wrapper_get_foreign_key_list(THD *thd, List<FOREIGN_KEY_INFO> *f_key_list);
int storage_get_foreign_key_list(THD *thd, List<FOREIGN_KEY_INFO> *f_key_list);
#ifdef MRN_HANDLER_HAVE_GET_PARENT_FOREIGN_KEY_LIST
int wrapper_get_parent_foreign_key_list(THD *thd, List<FOREIGN_KEY_INFO> *f_key_list);
int storage_get_parent_foreign_key_list(THD *thd, List<FOREIGN_KEY_INFO> *f_key_list);
#endif
uint wrapper_referenced_by_foreign_key();
uint storage_referenced_by_foreign_key();
void wrapper_init_table_handle_for_HANDLER();
Expand Down

0 comments on commit 0e5f286

Please sign in to comment.