response.setResults(cr, itask);
}
else {
cr = wrapper.call(txnState, itask.getParameters());
response.setResults(cr, itask);
<BUG>}
m_partitionDRGateway.onSuccessfulProcedureCall(itask.getTxnId(), itask.getStoredProcedureInvocation(), cr);
}</BUG>
}
catch (final ExpectedProcedureException e) {

response.setResults(cr, itask);
}
else {
cr = wrapper.call(txnState, itask.getParameters());
response.setResults(cr, itask);
}
if (!itask.isReadOnly()) {
m_partitionDRGateway.onSuccessfulProcedureCall(itask.getTxnId(), itask.getStoredProcedureInvocation(), cr);
}
}
}
catch (final ExpectedProcedureException e) {
