Kouhei Sutou
null+****@clear*****
Wed Feb 8 10:03:47 JST 2017
Kouhei Sutou 2017-02-08 10:03:47 +0900 (Wed, 08 Feb 2017) New Revision: f95bd12bdd374d1ca0f11d6deabcb894ae219fe7 https://github.com/mroonga/mroonga/commit/f95bd12bdd374d1ca0f11d6deabcb894ae219fe7 Message: Don't clear error message for column creation failure Modified files: ha_mroonga.cpp Modified: ha_mroonga.cpp (+1 -1) =================================================================== --- ha_mroonga.cpp 2017-02-08 09:59:38 +0900 (7661776) +++ ha_mroonga.cpp 2017-02-08 10:03:47 +0900 (99ef01b) @@ -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); } } -------------- next part -------------- HTML����������������������������...Download