Navigation Menu

Skip to content

Commit

Permalink
Don't clear error message for column creation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 8, 2017
1 parent 81e021a commit f95bd12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -3382,9 +3382,9 @@ int ha_mroonga::storage_create(const char *name, TABLE *table,
column_name.c_str(), column_name.length(),
col_path, col_flags, col_type);
if (ctx->rc) {
grn_obj_remove(ctx, table_obj);
error = ER_CANT_CREATE_TABLE;
my_message(error, ctx->errbuf, MYF(0));
grn_obj_remove(ctx, table_obj);
DBUG_RETURN(error);
}
}
Expand Down

0 comments on commit f95bd12

Please sign in to comment.