(self, dbapi_connection)
| 3168 | pass |
| 3169 | |
| 3170 | def do_rollback(self, dbapi_connection): |
| 3171 | try: |
| 3172 | super().do_rollback(dbapi_connection) |
| 3173 | except self.dbapi.ProgrammingError as e: |
| 3174 | if self.ignore_no_transaction_on_rollback and re.match( |
| 3175 | r".*\b111214\b", str(e) |
| 3176 | ): |
| 3177 | util.warn( |
| 3178 | "ProgrammingError 111214 " |
| 3179 | "'No corresponding transaction found.' " |
| 3180 | "has been suppressed via " |
| 3181 | "ignore_no_transaction_on_rollback=True" |
| 3182 | ) |
| 3183 | else: |
| 3184 | raise |
| 3185 | |
| 3186 | _isolation_lookup = { |
| 3187 | "SERIALIZABLE", |
no test coverage detected