Navigation Menu

Skip to content

Commit

Permalink
modify mrn_drop to force drop.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetsuro IKEDA committed Aug 21, 2009
1 parent 4e5a2b5 commit eb479f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions driver.c
Expand Up @@ -430,9 +430,10 @@ int mrn_drop(grn_ctx *ctx, const char *table_name)
return 0;

err:
GRN_LOG(ctx, GRN_LOG_ERROR, "grn_ctx_get in mrn_drop failed:[%s,%d,%p,%p]",
GRN_LOG(ctx, GRN_LOG_ERROR, "grn_ctx_get return null:[%s,%d,%p,%p]",
table_name, strlen(table_name), ctx, grn_ctx_db(ctx));
return -1;
// force drop table
return 0;
}

int mrn_write_row(grn_ctx *ctx, mrn_record *record)
Expand Down

0 comments on commit eb479f0

Please sign in to comment.