db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Myrna van Lunteren <m.v.lunte...@gmail.com>
Subject test floattypes fails with jdk15
Date Tue, 12 Apr 2005 13:35:32 GMT
Hi,

Both Naka-san and Shreyas have run into this failure with floattypes -
but it's unrelated to their changes. Instead, it's a behavior
difference with jdk15 v.s. earlier jdk versions.

In a table:
    create table tmp(d decimal(31,0))
The following insert statement:
    insert into tmp values (+1.79769E+308)
Will pass with jdk15, but with jdk14 it results in an error:
    ERROR 22003: The resulting value is outside the range for the data
type DECIMAL/NUMERIC(31,0)

I will investigate where the problem lies, and report a separate bug
if necessary against the appropriate product and handle the test
failure.

Myrna

Mime
View raw message