MCPcopy Index your code
hub / github.com/PyMySQL/PyMySQL / commit

Method commit

pymysql/connections.py:494–502  ·  view source on GitHub ↗

Commit changes to stable storage. See `Connection.commit() `_ in the specification.

(self)

Source from the content-addressed store, hash-verified

492 self._read_ok_packet()
493
494 def commit(self):
495 """
496 Commit changes to stable storage.
497
498 See `Connection.commit() <https://www.python.org/dev/peps/pep-0249/#commit>`_
499 in the specification.
500 """
501 self._execute_command(COMMAND.COM_QUERY, "COMMIT")
502 self._read_ok_packet()
503
504 def rollback(self):
505 """

Callers 10

setUpMethod · 0.80
test_SSCursorMethod · 0.80
test_issue_17Method · 0.80
tearDownMethod · 0.80
test_commitMethod · 0.80
check_data_integrityMethod · 0.80
test_transactionsMethod · 0.80

Calls 2

_execute_commandMethod · 0.95
_read_ok_packetMethod · 0.95

Tested by 8

setUpMethod · 0.64
test_SSCursorMethod · 0.64
test_issue_17Method · 0.64
test_commitMethod · 0.64
test_transactionsMethod · 0.64