null+****@clear*****
null+****@clear*****
2011年 6月 13日 (月) 10:59:24 JST
Kouhei Sutou 2011-06-13 01:59:24 +0000 (Mon, 13 Jun 2011)
New Revision: 0c4943405653b73d77f75b339fd3a7c84052b04f
Log:
"error != 0" -> "error".
Modified files:
ha_mroonga.cc
Modified: ha_mroonga.cc (+3 -3)
===================================================================
--- ha_mroonga.cc 2011-06-13 01:55:03 +0000 (c1fd755)
+++ ha_mroonga.cc 2011-06-13 01:59:24 +0000 (9c23129)
@@ -1047,15 +1047,15 @@ int ha_mroonga::default_create(const char *name, TABLE *table,
MRN_DBUG_ENTER_METHOD();
error = default_create_validate_pseudo_column(table);
- if (error != 0)
+ if (error)
DBUG_RETURN(error);
error = default_create_validate_index(table);
- if (error != 0)
+ if (error)
DBUG_RETURN(error);
error = default_create_ensure_database_open(name);
- if (error != 0)
+ if (error)
DBUG_RETURN(error);
grn_obj_flags tbl_flags = GRN_OBJ_PERSISTENT;