@@ -1530,7 +1530,7 @@ scanGetItemFast(IndexScanDesc scan, ItemPointer advancePast,
15301530{
15311531RumScanOpaque so = (RumScanOpaque )scan -> opaque ;
15321532int i ,j ,k ;
1533- bool preConsistentFalse , consistentFalse ;
1533+ bool preConsistentResult , consistentResult ;
15341534
15351535if (so -> entriesIncrIndex >=0 )
15361536{
@@ -1544,7 +1544,7 @@ scanGetItemFast(IndexScanDesc scan, ItemPointer advancePast,
15441544 * Our entries is ordered by descending of item pointers.
15451545 * The first goal is to find border where preConsistent becomes false.
15461546 */
1547- preConsistentFalse = false ;
1547+ preConsistentResult = true ;
15481548j = 0 ;
15491549k = 0 ;
15501550for (i = 0 ;i < so -> totalentries ;i ++ )
@@ -1557,11 +1557,8 @@ scanGetItemFast(IndexScanDesc scan, ItemPointer advancePast,
15571557for (;j < i ;j ++ )
15581558so -> sortedEntries [j ]-> preValue = false;
15591559
1560- if (!preConsistentCheck (so ))
1561- {
1562- preConsistentFalse = true;
1560+ if ((preConsistentResult = preConsistentCheck (so ))== false)
15631561break ;
1564- }
15651562}
15661563}
15671564
@@ -1572,14 +1569,14 @@ scanGetItemFast(IndexScanDesc scan, ItemPointer advancePast,
15721569if (so -> sortedEntries [i - 1 ]-> isFinished == TRUE)
15731570return false;
15741571
1575- if (preConsistentFalse )
1572+ if (preConsistentResult == false )
15761573{
15771574entryShift (i ,so , true);
15781575continue ;
15791576}
15801577
15811578/* Call consistent method */
1582- consistentFalse = false ;
1579+ consistentResult = true ;
15831580for (i = 0 ;i < so -> nkeys ;i ++ )
15841581{
15851582RumScanKey key = so -> keys + i ;
@@ -1607,13 +1604,13 @@ scanGetItemFast(IndexScanDesc scan, ItemPointer advancePast,
16071604}
16081605if (!callConsistentFn (& so -> rumstate ,key ))
16091606{
1610- consistentFalse = true ;
1607+ consistentResult = false ;
16111608entryShift (k ,so , false);
16121609continue ;
16131610}
16141611}
16151612
1616- if (consistentFalse )
1613+ if (consistentResult == false )
16171614continue ;
16181615
16191616/* Calculate recheck from each key */