Re: [gnome-db] Little problem in MySQL provider



On Thu, 2002-01-03 at 01:41, Gonzalo Paniagua Javier wrote:
> 	Hello!
> 
> 	I've just seen that may be there is a problem in
> 	gda-mysql-recordset.c (fetch_func()). 
> 	
> 	What happens if the type returned by gda_mysql_type_to_gda() (in
> 	utils.c) is GDA_TYPE_UNKNOWN? Well, you get a GdaField that has
> 	type unknown and a string value!!! Is this ok? Or the default
> 	return value in gda_mysql_type_to_gda() should be a
> 	GDA_TYPE_STRING?
> 
yes, I guess the best thing is to default to GDA_TYPE_STRING for MySQL.
For other providers, I suppose it is also the best thing, when the type
cannot be resolved, to default to string.

I'll change it in the MySQL provider.

cheers
-- 
Rodrigo Moya <rodrigo gnome-db org> - <rodrigo ximian com>
http://www.gnome-db.org/ - http://www.ximian.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]