Roll back the current transaction. See `Connection.rollback() `_ in the specification.
(self)
| 507 | self._read_ok_packet() |
| 508 | |
| 509 | def rollback(self): |
| 510 | """ |
| 511 | Roll back the current transaction. |
| 512 | |
| 513 | See `Connection.rollback() <https://www.python.org/dev/peps/pep-0249/#rollback>`_ |
| 514 | in the specification. |
| 515 | """ |
| 516 | self._execute_command(COMMAND.COM_QUERY, "ROLLBACK") |
| 517 | self._read_ok_packet() |
| 518 | |
| 519 | def show_warnings(self): |
| 520 | """Send the "SHOW WARNINGS" SQL command.""" |
nothing calls this directly
no test coverage detected