* interface instead of a class when we try to overload
* a method with both.
*/
if( rs instanceof InsertResultSet)
{
InsertResultSet irs = (InsertResultSet) rs;
retval = new RealInsertResultSetStatistics(
irs.rowCount,
irs.constants.deferred,
irs.constants.irgs.length,
irs.userSpecifiedBulkInsert,
irs.bulkInsertPerformed,
irs.constants.lockMode ==
TransactionController.MODE_TABLE,
irs.getExecuteTime(),
getResultSetStatistics(irs.savedSource)
);
irs.savedSource = null;
}