File tree Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -19,29 +19,29 @@ jobs:
19
19
matrix :
20
20
include :
21
21
- db : " mariadb:10.4"
22
- py : " 3.8 "
22
+ py : " 3.13 "
23
23
24
24
- db : " mariadb:10.5"
25
- py : " 3.8 "
25
+ py : " 3.11 "
26
26
27
27
- db : " mariadb:10.6"
28
- py : " 3.11 "
28
+ py : " 3.10 "
29
29
30
30
- db : " mariadb:10.6"
31
- py : " 3.13 "
31
+ py : " 3.9 "
32
32
33
33
- db : " mariadb:lts"
34
- py : " 3.9 "
34
+ py : " 3.8 "
35
35
36
36
- db : " mysql:5.7"
37
37
py : " pypy-3.10"
38
38
39
39
- db : " mysql:8.0"
40
- py : " 3.8 "
40
+ py : " 3.13 "
41
41
mysql_auth : true
42
42
43
- - db : " mysql:8.0 "
44
- py : " 3.10 "
43
+ - db : " mysql:8.4 "
44
+ py : " 3.8 "
45
45
mysql_auth : true
46
46
47
47
services :
Original file line number Diff line number Diff line change @@ -576,9 +576,9 @@ def affected_rows(self):
576
576
return self ._affected_rows
577
577
578
578
def kill (self , thread_id ):
579
- arg = struct . pack ( "<I" , thread_id )
580
- self . _execute_command ( COMMAND . COM_PROCESS_KILL , arg )
581
- return self ._read_ok_packet ( )
579
+ if not isinstance ( thread_id , int ):
580
+ raise TypeError ( "thread_id must be an integer" )
581
+ self .query ( f"KILL { thread_id :d } " )
582
582
583
583
def ping (self , reconnect = True ):
584
584
"""
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ def test_utf8():
30
30
assert uppercase_utf8 == lowercase_utf8
31
31
assert mixedcase_utf8 == lowercase_utf8
32
32
33
+
33
34
def test_case_sensitivity ():
34
35
lowercase_latin1 = pymysql .charset .charset_by_name ("latin1" )
35
36
assert lowercase_latin1 is not None
You can’t perform that action at this time.
10CA
0 commit comments