null+****@clear*****
null+****@clear*****
2012年 2月 15日 (水) 17:33:27 JST
Kouhei Sutou 2012-02-15 17:33:27 +0900 (Wed, 15 Feb 2012)
New Revision: d81c526115546c410fc742977cec7dc630779f67
Log:
remove duplicated code.
Modified files:
ha_mroonga.cc
Modified: ha_mroonga.cc (+1 -1)
===================================================================
--- ha_mroonga.cc 2012-02-15 16:56:56 +0900 (1ba43e7)
+++ ha_mroonga.cc 2012-02-15 17:33:27 +0900 (813900f)
@@ -2235,7 +2235,7 @@ int ha_mroonga::wrapper_create_index(const char *name, TABLE *table,
pkey_type, pkey_value_type);
if (ctx->rc) {
error = ER_CANT_CREATE_TABLE;
- my_message(ER_CANT_CREATE_TABLE, ctx->errbuf, MYF(0));
+ my_message(error, ctx->errbuf, MYF(0));
DBUG_RETURN(error);
}