(self)
| 1148 | self._handle_dbapi_exception(e, None, None, None, None) |
| 1149 | |
| 1150 | def _commit_impl(self) -> None: |
| 1151 | if self._has_events or self.engine._has_events: |
| 1152 | self.dispatch.commit(self) |
| 1153 | |
| 1154 | if self._echo: |
| 1155 | if self._is_autocommit_isolation(): |
| 1156 | self._log_info( |
| 1157 | "COMMIT using DBAPI connection.commit(), " |
| 1158 | "has no effect due to autocommit mode" |
| 1159 | ) |
| 1160 | else: |
| 1161 | self._log_info("COMMIT") |
| 1162 | try: |
| 1163 | self.engine.dialect.do_commit(self.connection) |
| 1164 | except BaseException as e: |
| 1165 | self._handle_dbapi_exception(e, None, None, None, None) |
| 1166 | |
| 1167 | def _savepoint_impl(self, name: Optional[str] = None) -> str: |
| 1168 | if self._has_events or self.engine._has_events: |
no test coverage detected