From 0c281923863d792d824433c4544b2b78b5c7366e Mon Sep 17 00:00:00 2001 From: Rene Brun <Rene.Brun@cern.ch> Date: Tue, 21 Sep 2004 18:46:18 +0000 Subject: [PATCH] From Robert Hatcher: TMySQLServer::ShutDown appears to need a modification to adapt to API changes in MySQL. git-svn-id: http://root.cern.ch/svn/root/trunk@10127 27541ba8-7e3a-0410-8455-c3a389f83636 --- mysql/src/TMySQLServer.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mysql/src/TMySQLServer.cxx b/mysql/src/TMySQLServer.cxx index 9a3ceaaacbd..d0348170ba8 100644 --- a/mysql/src/TMySQLServer.cxx +++ b/mysql/src/TMySQLServer.cxx @@ -1,4 +1,4 @@ -// @(#)root/mysql:$Name: $:$Id: TMySQLServer.cxx,v 1.3 2002/11/05 17:01:38 rdm Exp $ +// @(#)root/mysql:$Name: $:$Id: TMySQLServer.cxx,v 1.4 2003/04/16 16:47:22 brun Exp $ // Author: Fons Rademakers 15/02/2000 /************************************************************************* @@ -237,7 +237,11 @@ Int_t TMySQLServer::Shutdown() Error("Shutdown", "not connected"); return -1; } +#if MYSQL_VERSION_ID < 40103 return mysql_shutdown(fMySQL); +#else + return mysql_shutdown(fMySQL,SHUTDOWN_DEFAULT); +#endif } //______________________________________________________________________________ -- GitLab