From 8cd67c1e3628fac5e0fd1e687b67fd168f58154c Mon Sep 17 00:00:00 2001 From: adustman Date: Wed, 5 Apr 2006 17:56:36 +0000 Subject: [PATCH] Remove conditionals for registering server_start and server_end. Not needed since the code itself is conditional on client version. --- MySQLdb/_mysql.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/MySQLdb/_mysql.c b/MySQLdb/_mysql.c index 4e51ddf..3f7925a 100644 --- a/MySQLdb/_mysql.c +++ b/MySQLdb/_mysql.c @@ -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 */ };