(self, thread_id)
| 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 | """ |