int irbcount = 0;
// First undo internal transactions if there is any
if (ttab.hasRollbackFirstTransaction())
{
RawTransaction internalTransaction = startInternalTransaction(rsf,
recoveryTransaction.getContextManager());
// make this transaction be aware that it is being used by recovery
internalTransaction.recoveryTransaction();
if (SanityManager.DEBUG)
SanityManager.ASSERT(
internalTransaction.handlesPostTerminationWork() == false,
"internal recovery xact handles post termination work");
while(ttab.getMostRecentRollbackFirstTransaction(
internalTransaction))
{
irbcount++;
internalTransaction.abort();
}
internalTransaction.close();
}
if (SanityManager.DEBUG)
{
SanityManager.ASSERT(