Hello

The test:
http://my.cdash.org/testDetails.php?test=1211908&build=25032

Tell me the line 230 of test_dbi_retrieving_fields_as.c:

        assert_string_equal(the_float_as_string, "3.402820e+38");

The Cgreen framework have asserts to calc double but not strings.

Numerical strings are compared with strcmp. I suspected the conversion
made by sqlite3 and libdbi is differs for pgsql and mysql.

To solve it temporally I will do a else in test code to compare with
the correct value to sqlite3




2009/5/13 João Henrique Freitas <joa...@gmail.com>:
> Hi,
>
>> The drivers (sqlite was also affected, besides sqlite3) did not set
>> the NULL property of fields containing NULL. I've fixed this in
>> CVS. Could you please repeat your tests? Things seem to work ok here.
>>
>
> Ok, all fine.
>
> Now I am working to solve this:
>
> Failure!: sqlite3 -> libdbi connection -> Retriving fields as ->
> test_dbi_result_get_as_string -> [3.402823e+38] should match
> [3.402820e+38] at [test_dbi_retrieving_fields_as.c] line [230]
> Completed "libdbi framework test": 391 passes, 1 failure, 0 exceptions.
>
>
> Thanks
>
>
>
>> regards,
>> Markus
>>
>> --
>> Markus Hoenicka
>> markus.hoeni...@cats.de
>> (Spam-protected email: replace the quadrupeds with "mhoenicka")
>> http://www.mhoenicka.de
>>
>
>
>
> --
> -----------------------------------------------------------
> João Henrique Freitas - joaohf_at_gmail.com
> Campinas-SP-Brasil
> BSD051283
> LPI 1
> http://www.joaohfreitas.eti.br
>



-- 
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to