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

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
parent c43a4369
No related branches found
No related tags found
No related merge requests found
// @(#)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
}
//______________________________________________________________________________
......
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