(self, thread_id)
| 599 | return self._affected_rows |
| 600 | |
| 601 | def kill(self, thread_id): |
| 602 | if not isinstance(thread_id, int): |
| 603 | raise TypeError("thread_id must be an integer") |
| 604 | self.query(f"KILL {thread_id:d}") |
| 605 | |
| 606 | def ping(self, reconnect=False): |
| 607 | """ |