'Commits the most recent savepoint (if one exists). Does nothing if
savepoints are not supported.'

def savepoint_commit(self, sid):

    self.validate_thread_sharing()
    if self.savepoint_state:
        self._savepoint_commit(sid)
