Navigation Menu

Skip to content

Commit

Permalink
Add a forgotten check of error status
Browse files Browse the repository at this point in the history
  • Loading branch information
shibakentoku committed Feb 17, 2015
1 parent 5732c96 commit be59bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -13696,7 +13696,7 @@ bool ha_mroonga::storage_inplace_alter_table_index(
if (error == HA_ERR_FOUND_DUPP_UNIQUE) {
my_printf_error(ER_DUP_UNIQUE, ER(ER_DUP_UNIQUE), MYF(0),
table_share->table_name);
} else {
} else if (error) {
my_message(error, "failed to create multiple column index", MYF(0));
}
for (i = 0; i < n_columns; ++i) {
Expand Down

0 comments on commit be59bd6

Please sign in to comment.