Navigation Menu

Skip to content

Commit

Permalink
Stop to override real error message on creating index
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 7, 2018
1 parent 8af3c19 commit 9c112eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -4450,9 +4450,9 @@ int ha_mroonga::storage_create_index(TABLE *table, const char *grn_table_name,
grn_table);

if (ctx->rc) {
grn_obj_remove(ctx, index_table);
error = ER_CANT_CREATE_TABLE;
my_message(error, ctx->errbuf, MYF(0));
grn_obj_remove(ctx, index_table);
DBUG_RETURN(error);
}

Expand Down

0 comments on commit 9c112eb

Please sign in to comment.