Commit 223936e2 authored by Teodor Sigaev's avatar Teodor Sigaev

Fix oversight in 013ebc0a commit

Declaration of varibale inside ÓÝ×Õ
parent 013ebc0a
...@@ -718,10 +718,12 @@ gistgettuple(PG_FUNCTION_ARGS) ...@@ -718,10 +718,12 @@ gistgettuple(PG_FUNCTION_ARGS)
/* find and process the next index page */ /* find and process the next index page */
do do
{ {
GISTSearchItem *item;
if ((so->curBlkno != InvalidBlockNumber) && (so->numKilled > 0)) if ((so->curBlkno != InvalidBlockNumber) && (so->numKilled > 0))
gistkillitems(scan); gistkillitems(scan);
GISTSearchItem *item = getNextGISTSearchItem(so); item = getNextGISTSearchItem(so);
if (!item) if (!item)
PG_RETURN_BOOL(false); PG_RETURN_BOOL(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment