for (int i = 0; i < numpurges; i++)
{
recordIds[i] = getHeaderAtSlot(slot + i).getId();
// get row lock on head row piece
RecordHandle handle = getRecordHandleAtSlot(slot);
owner.getLockingPolicy().lockRecordForWrite(t, handle, false, true);
// Before we purge these rows, we need to make sure they don't have
// overflow rows and columns. Only clean up long rows and long
// columns if this is not a temporary container, otherwise, just
// loose the space.
if (owner.isTemporaryContainer() || entireRecordOnPage(slot+i))
continue;
// row[slot+i] has overflow rows and/or long columns, reclaim
// them in a loop.
RecordHandle headRowHandle =
getHeaderAtSlot(slot+i).getHandle(pageId, slot+i);
purgeRowPieces(t, slot+i, headRowHandle, needDataLogged);
}
owner.getActionSet().actionPurge(t, this, slot, numpurges, recordIds, needDataLogged);