// Blocks in scan order
try {
while ( idx >= 0 )
{
if ( verbose ) System.out.printf("idx = %d\n", idx) ;
RecordBufferPage page = recordPageMgr.getRead(idx) ;
if ( verbose ) System.out.printf("%04d :: id=%04d -> link=%04d [count=%d, max=%d]\n", n, page.getId(), page.getLink(), page.getCount(), page.getMaxSize()) ;
RecordBuffer rb = page.getRecordBuffer() ;
if ( verbose ) System.out.printf(" :: %d %d\n", rb.getSize(), rb.maxSize() ) ;
total += rb.size();
idx = page.getLink() ;
n++ ;
recordPageMgr.release(page) ;
}
} catch (Exception ex)
{