mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 19:31:54 +08:00
Remove conditionals for registering server_start and server_end.
Not needed since the code itself is conditional on client version.
This commit is contained in:
@ -2738,7 +2738,6 @@ _mysql_methods[] = {
|
|||||||
_mysql_thread_safe__doc__
|
_mysql_thread_safe__doc__
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
#if MYSQL_VERSION_ID >= 40000
|
|
||||||
{
|
{
|
||||||
"server_init",
|
"server_init",
|
||||||
(PyCFunction)_mysql_server_init,
|
(PyCFunction)_mysql_server_init,
|
||||||
@ -2751,7 +2750,6 @@ _mysql_methods[] = {
|
|||||||
METH_VARARGS,
|
METH_VARARGS,
|
||||||
_mysql_server_end__doc__
|
_mysql_server_end__doc__
|
||||||
},
|
},
|
||||||
#endif
|
|
||||||
{NULL, NULL} /* sentinel */
|
{NULL, NULL} /* sentinel */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user