mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 11:10:58 +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__
|
||||
},
|
||||
#endif
|
||||
#if MYSQL_VERSION_ID >= 40000
|
||||
{
|
||||
"server_init",
|
||||
(PyCFunction)_mysql_server_init,
|
||||
@ -2751,7 +2750,6 @@ _mysql_methods[] = {
|
||||
METH_VARARGS,
|
||||
_mysql_server_end__doc__
|
||||
},
|
||||
#endif
|
||||
{NULL, NULL} /* sentinel */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user