We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c67f902 commit 88a834fCopy full SHA for 88a834f
1 file changed
src/MySQLdb/_mysql.c
@@ -87,13 +87,7 @@ typedef struct {
87
PyThread_type_lock lock;
88
} _mysql_ConnectionObject;
89
90
-#define check_connection(c) \
91
- if (!(c->open)) { \
92
- return _mysql_Exception(c); \
93
- };
94
-
95
#define result_connection(r) ((_mysql_ConnectionObject *)r->conn)
96
-#define check_result_connection(r) check_connection(result_connection(r))
97
98
extern PyTypeObject _mysql_ConnectionObject_Type;
99
0 commit comments