I can't find working libdbi version

John Ralls jralls at ceridwen.us
Thu Jan 27 14:40:20 EST 2011


On Jan 27, 2011, at 4:50 AM, Christoph Holtermann wrote:

> Hello !
> 
> Curiosity wins over hunger.
> 
> I found that Mysql does logging ;-) The query log says:
> 110127 13:40:28    21 Connect   christoph at localhost on gnucash
>                   21 Query     CREATE TEMPORARY TABLE numtest ( test_int BIGINT, test_unsigned BIGINT, test_double FLOAT8 )
>                   21 Query     INSERT INTO numtest VALUES (-9223372036854775807, 9223372036854775807,     1,797692e+307)
> 
> This is what i suspected. The float is parsed badly. It should be
> 1.797692e+307. I wonder how to tell printf.
> 
> Is it possible that it is locale-specific ? I'm living in germany and we use the comma as separator.
> 

Good catch. I've changed the way doubles are serialized in r20177; please give it a try.

Regards,
John Ralls




More information about the gnucash-devel mailing list