[Gambas-devel] MySQL component (4.1 changes)
Benoit Minisini
gambas at ...1...
Tue Feb 15 12:47:59 CET 2005
On Tuesday 15 February 2005 10:07, nigel at ...2... wrote:
> Benoit,
>
> Attached is a patch file for the mysql component; it adds the new system
> tables added by MySQL 4.1. No rocket science here :-)
>
> Here is a warning :
> Due to a bug in the 4.1.8 and 4.1.9 MySQL releases where the API
> mysql_character_set_name() gives back the collation sequence rather than
> the character set, the database-manager will crash where character
> conversion is attempted during the update of a field. The change at the
> the mysql end is simple in that the mysql file libmysql.c needs to be
> altered before being compiled, so that csname is returned instead of name.
> Hopefully, the guys that release MySQL will soon have this resolved (it was
> reported in 4.1.8 so should have been ok in 4.1.9 but my check shows that
> it is not).
>
> regards
>
> Nigel
Isn't it possible to do the test only if mysql version is >= 4.1 ?
It recalls me a talk about having many database drivers for each version, and
loading only the good one at database connection.
Regards,
--
Benoit Minisini
mailto:gambas at ...1...
More information about the Devel
mailing list