Skip to content
Snippets Groups Projects
Commit 91402e71 authored by Rene Brun's avatar Rene Brun
Browse files

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
parent c1b69dec
No related branches found
No related tags found
No related merge requests found
// @(#)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 // Author: Fons Rademakers 15/02/2000
/************************************************************************* /*************************************************************************
...@@ -237,7 +237,7 @@ Int_t TMySQLServer::Shutdown() ...@@ -237,7 +237,7 @@ Int_t TMySQLServer::Shutdown()
Error("Shutdown", "not connected"); Error("Shutdown", "not connected");
return -1; return -1;
} }
#if MYSQL_VERSION_ID < 40103 #if MYSQL_VERSION_ID < 50001
return mysql_shutdown(fMySQL); return mysql_shutdown(fMySQL);
#else #else
return mysql_shutdown(fMySQL,SHUTDOWN_DEFAULT); return mysql_shutdown(fMySQL,SHUTDOWN_DEFAULT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment