Navigation Menu

Skip to content

Commit

Permalink
change drop index id at drop_index
Browse files Browse the repository at this point in the history
  • Loading branch information
Kentoku committed Oct 27, 2011
1 parent d4313a8 commit 7d964f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ha_mroonga.cc
Expand Up @@ -7513,8 +7513,8 @@ int ha_mroonga::wrapper_prepare_drop_index(TABLE *table_arg, uint *key_num,
if (index_table != NULL) {
grn_obj_remove(ctx, index_table);
}
grn_index_tables[i] = NULL;
grn_index_columns[i] = NULL;
grn_index_tables[key_num[i]] = NULL;
grn_index_columns[key_num[i]] = NULL;
}
if (j)
{
Expand Down Expand Up @@ -7543,8 +7543,8 @@ int ha_mroonga::storage_prepare_drop_index(TABLE *table_arg, uint *key_num,
if (index_table != NULL) {
grn_obj_remove(ctx, index_table);
}
grn_index_tables[i] = NULL;
grn_index_columns[i] = NULL;
grn_index_tables[key_num[i]] = NULL;
grn_index_columns[key_num[i]] = NULL;
}
DBUG_RETURN(0);
}
Expand Down

0 comments on commit 7d964f3

Please sign in to comment.