urs.savedSource = null;
}
else if( rs instanceof DeleteCascadeResultSet)
{
DeleteCascadeResultSet dcrs = (DeleteCascadeResultSet) rs;
int dependentTrackingArrayLength =
(dcrs.dependentResultSets == null) ? 0 :
dcrs.dependentResultSets.length;
ResultSetStatistics[] dependentTrackingArray =
new ResultSetStatistics[dependentTrackingArrayLength];
boolean anyAttached = false;
for (int index = 0; index < dependentTrackingArrayLength; index++)
{
if (dcrs.dependentResultSets[index] != null)
{
dependentTrackingArray[index] =
getResultSetStatistics(
dcrs.dependentResultSets[index]);
anyAttached = true;
}
}
if (! anyAttached)
{
dependentTrackingArray = null;
}
retval = new RealDeleteCascadeResultSetStatistics(
dcrs.rowCount,
dcrs.constants.deferred,
dcrs.constants.irgs.length,
dcrs.constants.lockMode ==
TransactionController.MODE_TABLE,
dcrs.getExecuteTime(),
getResultSetStatistics(dcrs.savedSource),
dependentTrackingArray
);
dcrs.savedSource = null;