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

Method kill

pymysql/connections.py:592–595  ·  view source on GitHub ↗
(self, thread_id)

Source from the content-addressed store, hash-verified

590 return self._affected_rows
591
592 def kill(self, thread_id):
593 if not isinstance(thread_id, int):
594 raise TypeError("thread_id must be an integer")
595 self.query(f"KILL {thread_id:d}")
596
597 def ping(self, reconnect=False):
598 """

Callers 1

test_issue_36Method · 0.80

Calls 1

queryMethod · 0.95

Tested by 1

test_issue_36Method · 0.64