On Monday, October 20, 2003, at 03:22PM, Willem Grooters <[EMAIL PROTECTED]> wrote:
>Hello,
>
>Tried to build BDB-RDB-1_16, when linking, a lot of undefined references
>due to the fact that SYS$IBRARY:SQ$USERS.OLB couldn't be located. Quite
>obvious: it's called SQL$USER71.OLB.
I don't think DBD::Rdb has been updated in a while and almost surely predates multiple
version supportin Rdb. Your changes seem ok for version 7.1, but it would be nice if
there were a more general solution.
>
>The testing: is ok, except test 21, I presume it is in TEST.PL:
>
>sub test_float {
> my $vals = [
> { in => 1.123 },
> { in => 32.767E30 },
> { in => -1.0001E-34 },
> { in => 1.1234E10 },
> { in => undef },
> { in => 0.000001 },
> { in => 1.12E45, expected_error => 1 },
> { in => -1.12E-45, expected_error => 1 },
> { in => 1.23456780, out => 1.234568 } ];
>
> test_data_type( "FLOAT(24)", 1, $vals );
>}
>
>Is this normal behaviour? If not, please explain what's wrong.
Your Perl is built with IEEE floating point format. I'd guess that Rdb defaults to
either D_FLOAT or G_FLOAT for doubles and F_FLOAT for singles. Perhaps there are
different Rdb user library versions for the different formats?