Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0da8165

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎MySQLdb/_mysql.c

Copy file name to clipboardExpand all lines: MySQLdb/_mysql.c
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.