Navigation Menu

Skip to content

Commit

Permalink
removed work-around-code for drop database.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetsuro IKEDA committed Mar 25, 2010
1 parent 502bb3f commit ca25a9e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions driver.c
Expand Up @@ -675,11 +675,5 @@ int mrn_db_drop(grn_ctx *ctx, char *path)
GRN_LOG(ctx, GRN_LOG_ERROR, "cannot drop database (%s)", path);
return -1;
}
/* workaround code (from) */
char f[32];
strncpy(f, path, 32);
strncat(f, ".0000000", 32);
unlink(f);
/* workaround code (to) */
return 0;
}

0 comments on commit ca25a9e

Please sign in to comment.