Navigation Menu

Skip to content

Commit

Permalink
"error != 0" -> "error".
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 13, 2011
1 parent 41d75bc commit 0c49434
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ha_mroonga.cc
Expand Up @@ -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;
Expand Down

0 comments on commit 0c49434

Please sign in to comment.