Navigation Menu

Skip to content

Commit

Permalink
Add const
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 19, 2012
1 parent 27195a6 commit a1fb5e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mrn_table.cpp
Expand Up @@ -479,7 +479,7 @@ int mrn_parse_table_param(MRN_SHARE *share, TABLE *table)
DBUG_RETURN(error);
}

bool mrn_is_geo_key(KEY *key_info)
bool mrn_is_geo_key(const KEY *key_info)
{
return key_info->algorithm == HA_KEY_ALG_UNDEF &&
key_info->key_parts == 1 &&
Expand Down
2 changes: 1 addition & 1 deletion mrn_table.hpp
Expand Up @@ -101,7 +101,7 @@ void mrn_get_partition_info(const char *table_name, uint table_name_length,
partition_element **sub_elem);
#endif
int mrn_parse_table_param(MRN_SHARE *share, TABLE *table);
bool mrn_is_geo_key(KEY *key_info);
bool mrn_is_geo_key(const KEY *key_info);
int mrn_add_index_param(MRN_SHARE *share, KEY *key_info, int i);
int mrn_parse_index_param(MRN_SHARE *share, TABLE *table);
MRN_SHARE *mrn_get_share(const char *table_name, TABLE *table, int *error);
Expand Down

0 comments on commit a1fb5e7

Please sign in to comment.