Re: [gnome-db] MySQL and floats

Stian Skjelstad <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <1273054700.2165.1.camel@stian-laptop>
> I am using GDA 4.0.8.
> It seems float/double type is broken in MySQL provider.
> I can easily insert floats to table, but always get '0,0000' when I
> fetch data.
> 
> I checked new_row_from_mysql_stmt and for G_TYPE_FLOAT and G_TYPE_DOUBLE
> case, mysql_bind_result[i].buffer is always 0,0000.
> 
> column is: `created` float NOT NULL DEFAULT '0',
> 
> Do I miss anything while getting data?
Just trowing in a quick-question just to check one thing. Is your local
language set to a language which uses "," as decimal mark?


Stian Skjelstad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.