mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 02:54:29 +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",
|
"server_capabilities",
|
||||||
T_UINT,
|
T_ULONG,
|
||||||
offsetof(_mysql_ConnectionObject,connection.server_capabilities),
|
offsetof(_mysql_ConnectionObject,connection.server_capabilities),
|
||||||
READONLY,
|
READONLY,
|
||||||
"Capabilities of server; consult MySQLdb.constants.CLIENT"
|
"Capabilities of server; consult MySQLdb.constants.CLIENT"
|
||||||
@ -2316,7 +2316,7 @@ static struct PyMemberDef _mysql_ConnectionObject_memberlist[] = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"client_flag",
|
"client_flag",
|
||||||
T_UINT,
|
T_ULONG,
|
||||||
offsetof(_mysql_ConnectionObject,connection.client_flag),
|
offsetof(_mysql_ConnectionObject,connection.client_flag),
|
||||||
READONLY,
|
READONLY,
|
||||||
"Client flags; refer to MySQLdb.constants.CLIENT"
|
"Client flags; refer to MySQLdb.constants.CLIENT"
|
||||||
|
Reference in New Issue
Block a user