Navigation Menu

Skip to content

Commit

Permalink
unify variable name: multicolumn_key -> multiple_column_index.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 27, 2011
1 parent 51128e1 commit a12d29f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ha_mroonga.cc
Expand Up @@ -7323,7 +7323,8 @@ int ha_mroonga::storage_add_index(TABLE *table_arg, KEY *key_info,
TABLE_SHARE tmp_table_share;
char **key_parser;
uint *key_parser_length;
bool have_multicolumn_key = FALSE;
bool have_multiple_column_index = FALSE;

MRN_DBUG_ENTER_METHOD();
tmp_table_share.keys = n_keys + num_of_keys;
if (!(tmp_share = (MRN_SHARE *)
Expand Down Expand Up @@ -7359,10 +7360,10 @@ int ha_mroonga::storage_add_index(TABLE *table_arg, KEY *key_info,
!(key_info[i].flags & HA_FULLTEXT)
) {
mrn_set_bitmap_by_key(table->read_set, &key_info[i]);
have_multicolumn_key = TRUE;
have_multiple_column_index = TRUE;
}
}
if (!res && have_multicolumn_key)
if (!res && have_multiple_column_index)
{
res = storage_add_index_multiple_columns(key_info, num_of_keys,
index_columns);
Expand Down

0 comments on commit a12d29f

Please sign in to comment.