Navigation Menu

Skip to content

Commit

Permalink
Split operations.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 24, 2012
1 parent 89cf2fb commit 900428d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions ha_mroonga.cc
Expand Up @@ -10012,11 +10012,12 @@ int ha_mroonga::wrapper_recreate_indexes(THD *thd)
remove_grn_obj_force(index_name);
mrn_set_bitmap_by_key(table->read_set, &key_info[i]);
}
if (
(error = wrapper_create_index(table_share->normalized_path.str, table,
NULL, share, table_name)) ||
(error = wrapper_open_indexes(table_share->normalized_path.str, false))
)
error = wrapper_create_index(table_share->normalized_path.str, table,
NULL, share, table_name);
if (error)
DBUG_RETURN(error);
error = wrapper_open_indexes(table_share->normalized_path.str, false);
if (error)
DBUG_RETURN(error);
if (
(mrn_lock_type != F_UNLCK || !(error = wrapper_external_lock(thd, F_WRLCK)))
Expand Down

0 comments on commit 900428d

Please sign in to comment.