[gnome-db] MySQL and floats
- From: Piotr Pokora <piotrek pokora gmail com>
- To: gnome-db list <gnome-db-list gnome org>
- Subject: [gnome-db] MySQL and floats
- Date: Tue, 04 May 2010 16:44:16 +0200
Hi!
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?
Piotras
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]