public int[] updateResultsMultiple(int waitedSize,boolean hasException){
  if (hasException) {
    for (int i=affectedRows.size(); i < waitedSize; i++) {
      addStatsError();
    }
  }
  return getAffectedRows();
}

public int [ ] updateResultsMultiple ( int waitedSize , boolean hasException ) { if ( hasException ) { for ( int i = affectedRows . size ( ) ; i < waitedSize ; i ++ ) { addStatsError ( ) ; } } return getAffectedRows ( ) ; }
set update resultset right on multiple rewrite . insert xxxx insert xxxx is rewritten insert xxxx ; insert xxxx so affected rows and insert id are separate in as many okpacket .
