Skip to content

Commit 8cd67c1

Browse files
author
adustman
committed
Remove conditionals for registering server_start and server_end.
Not needed since the code itself is conditional on client version.
1 parent f373a32 commit 8cd67c1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

MySQLdb/_mysql.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2738,7 +2738,6 @@ _mysql_methods[] = {
27382738
_mysql_thread_safe__doc__
27392739
},
27402740
#endif
2741-
#if MYSQL_VERSION_ID >= 40000
27422741
{
27432742
"server_init",
27442743
(PyCFunction)_mysql_server_init,
@@ -2751,7 +2750,6 @@ _mysql_methods[] = {
27512750
METH_VARARGS,
27522751
_mysql_server_end__doc__
27532752
},
2754-
#endif
27552753
{NULL, NULL} /* sentinel */
27562754
};
27572755

0 commit comments

Comments
 (0)