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:
adustman
2006-04-05 17:56:36 +00:00
parent f373a32f95
commit 8cd67c1e36

View File

@ -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 */
}; };