projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
013ebc0
)
Fix oversight in 013ebc0a7b7ea9c1b1ab7a3d4dd75ea121ea8ba7 commit
author
Teodor Sigaev
<teodor@sigaev.ru>
Wed, 9 Sep 2015 16:21:16 +0000
(19:21 +0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Wed, 9 Sep 2015 16:21:16 +0000
(19:21 +0300)
Declaration of varibale inside ÓÝ×Õ
src/backend/access/gist/gistget.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/gist/gistget.c
b/src/backend/access/gist/gistget.c
index 473ae430dd01a4bba7eca50f2b89d8cde1a070dc..ce8e582059df97250d5f9a4c8c24d297d300e49e 100644
(file)
--- a/
src/backend/access/gist/gistget.c
+++ b/
src/backend/access/gist/gistget.c
@@
-718,10
+718,12
@@
gistgettuple(PG_FUNCTION_ARGS)
/* find and process the next index page */
do
{
+ GISTSearchItem *item;
+
if ((so->curBlkno != InvalidBlockNumber) && (so->numKilled > 0))
gistkillitems(scan);
-
GISTSearchItem *
item = getNextGISTSearchItem(so);
+ item = getNextGISTSearchItem(so);
if (!item)
PG_RETURN_BOOL(false);