From 91402e714c28630cc144a746c5140be26ee97b9c Mon Sep 17 00:00:00 2001 From: Rene Brun <Rene.Brun@cern.ch> Date: Wed, 22 Sep 2004 10:26:07 +0000 Subject: [PATCH] It appears that the test on the MySQL version in TMySQLServer::Shutdown() must be #if MYSQL_VERSION_ID < 50001 and not #if MYSQL_VERSION_ID < 40003 git-svn-id: http://root.cern.ch/svn/root/trunk@10136 27541ba8-7e3a-0410-8455-c3a389f83636 --- mysql/src/TMySQLServer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql/src/TMySQLServer.cxx b/mysql/src/TMySQLServer.cxx index d0348170ba8..ffd6370f3f5 100644 --- a/mysql/src/TMySQLServer.cxx +++ b/mysql/src/TMySQLServer.cxx @@ -1,4 +1,4 @@ -// @(#)root/mysql:$Name: $:$Id: TMySQLServer.cxx,v 1.4 2003/04/16 16:47:22 brun Exp $ +// @(#)root/mysql:$Name: $:$Id: TMySQLServer.cxx,v 1.5 2004/09/21 18:46:18 brun Exp $ // Author: Fons Rademakers 15/02/2000 /************************************************************************* @@ -237,7 +237,7 @@ Int_t TMySQLServer::Shutdown() Error("Shutdown", "not connected"); return -1; } -#if MYSQL_VERSION_ID < 40103 +#if MYSQL_VERSION_ID < 50001 return mysql_shutdown(fMySQL); #else return mysql_shutdown(fMySQL,SHUTDOWN_DEFAULT); -- GitLab