commitPrepared method

bool commitPrepared()

Implementation

bool commitPrepared() {
  final rc = _backend.xaCommitPrepared(xaId);
  if (rc == 0) {
    _state = XaState.committed;
    return true;
  }
  _state = XaState.failedAfterPrepare;
  return false;
}