Re: [ROOT] problem with mysql-4.0.12 and root_v3.05.03

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Apr 16 2003 - 18:47:53 MEST


Hi Volker,

Your prposed changes seem to be OK. Now in CVS.
Thanks for this contribution.

It would be nice MySQL users could confirm that this works.

Rene Brun

Volker Hejny wrote:
> 
> Dear Rene,
> 
> I don't know whether the necessary changes for mysql 4.0.12 are
> already prepared. However, as far as I see, these changes should
> only consist of replacing
>      return mysql_create_db(fMySQL, dbname);
> by
>      return mysql_query(fMySQL, Form("CREATE DATABASE %s",dbname));
> and replacing
>      return mysql_drop_db(fMySQL, dbname);
> by
>      return mysql_query(fMySQL, Form("DROP DATABASE %s",dbname));
> in the lines 202 and 215 of TMySQLServer.cxx
> 
> These calls should also work for mysql 3.x.
> 
> Can you check that and if it's correct, change it?
> 
> Best regards,
> Volker Hejny
> 
> --
> Dr. Volker Hejny                Tel: 02461/616853                      **
> Institut f. Kernphysik          Fax: 02461/613930                     **
> ---------------------------------------------------------------- **  ** ---
> Forschungszentrum Juelich GmbH, D-52425 Juelich                    **



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET