mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +08:00
fix PyMemberDef type of two attributes (#395)
This commit is contained in:
@ -2302,7 +2302,7 @@ static struct PyMemberDef _mysql_ConnectionObject_memberlist[] = {
|
||||
},
|
||||
{
|
||||
"server_capabilities",
|
||||
T_UINT,
|
||||
T_ULONG,
|
||||
offsetof(_mysql_ConnectionObject,connection.server_capabilities),
|
||||
READONLY,
|
||||
"Capabilities of server; consult MySQLdb.constants.CLIENT"
|
||||
@ -2316,7 +2316,7 @@ static struct PyMemberDef _mysql_ConnectionObject_memberlist[] = {
|
||||
},
|
||||
{
|
||||
"client_flag",
|
||||
T_UINT,
|
||||
T_ULONG,
|
||||
offsetof(_mysql_ConnectionObject,connection.client_flag),
|
||||
READONLY,
|
||||
"Client flags; refer to MySQLdb.constants.CLIENT"
|
||||
|
Reference in New Issue
Block a user