Skip to content

Commit 0da8165

Browse files
kulikjakmethane
authored andcommitted
fix PyMemberDef type of two attributes (PyMySQL#395)
1 parent 6222ba6 commit 0da8165

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MySQLdb/_mysql.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2302,7 +2302,7 @@ static struct PyMemberDef _mysql_ConnectionObject_memberlist[] = {
23022302
},
23032303
{
23042304
"server_capabilities",
2305-
T_UINT,
2305+
T_ULONG,
23062306
offsetof(_mysql_ConnectionObject,connection.server_capabilities),
23072307
READONLY,
23082308
"Capabilities of server; consult MySQLdb.constants.CLIENT"
@@ -2316,7 +2316,7 @@ static struct PyMemberDef _mysql_ConnectionObject_memberlist[] = {
23162316
},
23172317
{
23182318
"client_flag",
2319-
T_UINT,
2319+
T_ULONG,
23202320
offsetof(_mysql_ConnectionObject,connection.client_flag),
23212321
READONLY,
23222322
"Client flags; refer to MySQLdb.constants.CLIENT"

0 commit comments

Comments
 (0)