Navigation Menu

Skip to content

Commit

Permalink
[wrapper] fix style.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jul 13, 2011
1 parent a8d6203 commit 9792d71
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions ha_mroonga.cc
Expand Up @@ -4117,13 +4117,15 @@ int ha_mroonga::read_range_next()
int ha_mroonga::wrapper_ft_init()
{
MRN_DBUG_ENTER_METHOD();
int error;
cur = grn_table_cursor_open(ctx, matched_record_keys, NULL, 0, NULL, 0, 0,
-1, 0);
if (ctx->rc) {
my_message(ER_ERROR_ON_READ, ctx->errbuf, MYF(0));
DBUG_RETURN(ER_ERROR_ON_READ);
-1, 0);
if (ctx->rc)
{
error = ER_ERROR_ON_READ;
my_message(error, ctx->errbuf, MYF(0));
}
DBUG_RETURN(0);
DBUG_RETURN(error);
}

int ha_mroonga::storage_ft_init()
Expand Down

0 comments on commit 9792d71

Please sign in to comment.