I can't find working libdbi version

Jeff Kletsky gnucash at allycomm.com
Thu Jan 27 09:23:12 EST 2011


Something isn't quite right there yet:

the_datetime_tz: in:'2001-12-31 23:59:59 -10:00' out:0-0-0 0:0:0
the_time_tz: in:'23:59:59-10:00' out:0:0:0


Unfortunately, the libdbi test does not identify "wrong" values



On 01/27/2011 01:36 AM, Christoph Holtermann wrote:
> Hello !
>
> make check with libdbi-drivers-0.8.3-1 shows:
>
> Test 8: Retrieve data:
>          Got result, try to access rows
>          this should cause a column type mismatch...
> type mismatch errflag=-7: The requested variable type does not match what libdbi thinks it should be
>          this should cause a bad name error...
> bad name errflag=-5: An invalid name was passed to libdbi
> the_datetime_tz: test skipped for this driver.
> time_tz: test skipped for this driver
> the_char: in:-127 out:-127<<
> the_uchar: in:127 out:127<<
> the_short: in:-32768 out:-32768<<
> the_ushort: in:32767 out:32767<<
> the_long: in:-2147483648 out:-2147483648<<
> the_ulong: in:2147483647 out:2147483647<<
> the_longlong: in:-9223372036854775807 out:-9223372036854775807<<
> the_ulonglong: in:9223372036854775807 out:9223372036854775807<<
> the_float: in:3.402823466E+38 out:3.402820e+38<<
> the_double: in:1.7976931348623157E+307 out:1.797693e+307<<
> the_driver_string: in:'Can 'we' "quote" this properly?' out:'Can 'we' "quote" this properly?'<<
> the_quoted_string: in:'Can 'we' "quote" this properly?' out:'Can 'we' "quote" this properly?'<<
> the_quoted_string_copy: in:'Can 'we' "quote" this properly?' out:'Can 'we' "quote" this properly?'<<
> the_escaped_string: in:'Can 'we' "escape" this properly?' out:'Can 'we' "escape" this properly?'<<
> the_escaped_string_copy: in:'Can 'we' "escape" this properly?' out:'Can 'we' "escape" this properly?'<<
> the_empty_string: out:''<<
> the_null_string: out:'(null)'
> the_datetime: in:'2001-12-31 23:59:59' out:2001-12-31 23:59:59
> the_datetime_tz: in:'2001-12-31 23:59:59 -10:00' out:0-0-0 0:0:0
> the_date: in:'2001-12-31' out:2001-12-31
> the_time: in:'23:59:59' out:23:59:59
> the_time_tz: in:'23:59:59-10:00' out:0:0:0
> the_quoted_binary: in: 65-66-0-67-39-68- out: 65-66-0-67-39-68-<<
> the_escaped_binary_copy: in: 65-66-0-67-39-68- out: 65-66-0-67-39-68-<<
>
> this is correct, isn't it ?
>
> regards,
>
> Christoph Holtermann
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel


More information about the gnucash-devel mailing list