public void addStats ( long updateCount , long insertId , boolean moreResultAvailable ) { if ( cmdInformation == null ) { if ( batch ) { cmdInformation = new CmdInformationBatch ( expectedSize , autoIncrement ) ; } else if ( moreResultAvailable ) { cmdInformation = new CmdInformationMultiple ( expectedSize , autoIncrement ) ; } else { cmdInformation = new CmdInformationSingle ( insertId , updateCount , autoIncrement ) ; return ; } } cmdInformation . addSuccessStat ( updateCount , insertId ) ; }
Add execution statistics .