db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mayuresh Nirhali (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-836) ResultSetMetaData.getColumnDisplaySize sometimes returns wrong values for DECIMAL columns
Date Wed, 07 Jun 2006 12:08:30 GMT
     [ http://issues.apache.org/jira/browse/DERBY-836?page=all ]

Mayuresh Nirhali updated DERBY-836:
-----------------------------------

    Attachment: derby836_v5.diff

I ran derbyall and found many failures. I ran it today again and still see some failures which
does not seem related to derby-836. I also found 1 failure related to derby836 and have updated
my patch (v5).

The failures i still see (but not related to derby836) are as below,
lang/aggbuiltin.sql
lang/aggregate.sql
lang/cast.sql
lang/casting.java
lang/compressTable.sql
lang/consistencyChecker.sql
lang/ejbql.sql
lang/floattypes.sql
lang/functions.sql
lang/implicitConversions.sql
lang/lojreorder.sql
lang/orderby.sql
lang/partdml.sql
lang/specjPlans.sql
lang/supersimple.sql
lang/triggerGeneral.sql
lang/triggerRefClause.sql
tools/derbyrunjartest.java
tools/importExportThruIJ.sql
tools/ieptests.sql
i18n/I18NImportExport.sql
i18n/urlLocale.sql
i18n/messageLocale.sql
i18n/iepnegativetests_ES.sql
upgradeTests/Upgrade_10_1_10_2.java

> ResultSetMetaData.getColumnDisplaySize sometimes returns wrong values for DECIMAL columns
> -----------------------------------------------------------------------------------------
>
>          Key: DERBY-836
>          URL: http://issues.apache.org/jira/browse/DERBY-836
>      Project: Derby
>         Type: Bug

>   Components: JDBC, Newcomer
>     Versions: 10.2.0.0
>     Reporter: Daniel John Debrunner
>     Assignee: Mayuresh Nirhali
>     Priority: Minor
>  Attachments: derby836-v2.diff, derby836-v3.diff, derby836-v4.diff, derby836.diff, derby836_v5.diff
>
> DECIMAL(10,0)
> max display width value:   -1234567890  length 11
> embedded : 11 correct
> client: 12 WRONG
> DECIMAL(10,10)
> max display width value:   -0.1234567890  length 13
> embedded : 13 correct
> client: 12 WRONG
> DECIMAL(10,2)
> max display width value:   -12345678.90  length 12
> embedded : 13 WRONG
> client: 12 correct
> I've added output early on in jdbcapi/metadata_test.java (and hence the tests metadata.jar
and odbc_metadata.java) to show this issue:
> E.g. for embedded
> DECIMAL(10,0) -- precision: 10 scale: 0 display size: 12 type name: DECIMAL
> DECIMAL(10,10) -- precision: 10 scale: 10 display size: 12 type name: DECIMAL
> DECIMAL(10,2) -- precision: 10 scale: 2 display size: 12 type name: DECIMAL
> I will add this test output once DERBY-829 is fixed so as not to cause conflicts.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message