diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2008-09-04 11:47:05 +0000 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2008-09-04 11:47:05 +0000 |
commit | 5373817cf2274024452421ef28822370d8605b5e (patch) | |
tree | e1a7003457d74551ba78ecc05f4a94a3b28d96af /src/backend/access/gin/ginget.c | |
parent | ba9f37f066cffbc327936fe35d08778c23be6e16 (diff) |
Fix strategy propagation to scanEntry for partial match by moving propagation
to initializaion of scanEntry.
Diffstat (limited to 'src/backend/access/gin/ginget.c')
-rw-r--r-- | src/backend/access/gin/ginget.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/backend/access/gin/ginget.c b/src/backend/access/gin/ginget.c index 9648d5ea289..c4619a61460 100644 --- a/src/backend/access/gin/ginget.c +++ b/src/backend/access/gin/ginget.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/gin/ginget.c,v 1.18 2008/07/11 21:06:29 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/access/gin/ginget.c,v 1.19 2008/09/04 11:47:05 teodor Exp $ *------------------------------------------------------------------------- */ @@ -395,14 +395,7 @@ startScanKey(Relation index, GinState *ginstate, GinScanKey key) return; for (i = 0; i < key->nentries; i++) - { startScanEntry(index, ginstate, key->scanEntry + i); - /* - * Copy strategy number to each entry of key to - * use in comparePartialFn call - */ - key->scanEntry[i].strategy = key->strategy; - } memset(key->entryRes, TRUE, sizeof(bool) * key->nentries); key->isFinished = FALSE; |