8000 Fix oversight in 013ebc0a7b7ea9c1b1ab7a3d4dd75ea121ea8ba7 commit · postgrespro/postgres_cluster@223936e · GitHub
[go: up one dir, main page]

Skip to content

Commit 223936e

Browse files
committed
Fix oversight in 013ebc0 commit
Declaration of varibale inside ÓÝ×Õ
1 parent 013ebc0 commit 223936e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/backend/access/gist/gistget.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,10 +718,12 @@ gistgettuple(PG_FUNCTION_ARGS)
718718
/* find and process the next index page */
719719
do
720720
{
721+
GISTSearchItem *item;
722+
721723
if ((so->curBlkno != InvalidBlockNumber) && (so->numKilled > 0))
722724
gistkillitems(scan);
723725

724-
GISTSearchItem *item = getNextGISTSearchItem(so);
726+
item = getNextGISTSearchItem(so);
725727

726728
if (!item)
727729
PG_RETURN_BOOL(false);

0 commit comments

Comments
 (0)
0