(self, dbapi_connection: DBAPIConnection)
| 877 | raise |
| 878 | |
| 879 | def do_ping(self, dbapi_connection: DBAPIConnection) -> bool: |
| 880 | cursor = dbapi_connection.cursor() |
| 881 | try: |
| 882 | cursor.execute(self._dialect_specific_select_one) |
| 883 | finally: |
| 884 | cursor.close() |
| 885 | return True |
| 886 | |
| 887 | def create_xid(self): |
| 888 | """Create a random two-phase transaction ID. |
no test coverage detected