Navigation Menu

Skip to content

Commit

Permalink
grn_pat: remove a quick-fix patch
Browse files Browse the repository at this point in the history
GitHub: #420, #421
  • Loading branch information
s-yata committed Oct 28, 2015
1 parent 0b96a19 commit 936a560
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/pat.c
Expand Up @@ -1127,11 +1127,6 @@ _grn_pat_del(grn_ctx *ctx, grn_pat *pat, const char *key, uint32_t key_size, int
uint32_t len = key_size * 16;
grn_id r, otherside, *proot, *p, *p0 = NULL;

/* FIXME: This is a quick-fix approach. */
if (_grn_pat_get(ctx, pat, key, key_size, NULL) == GRN_ID_NIL) {
return GRN_INVALID_ARGUMENT;
}

/* delinfo_new() must be called before searching for rn. */
di = delinfo_new(ctx, pat);
di->shared = shared;
Expand Down

0 comments on commit 936a560

Please sign in to comment.