db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: svn commit: r566359 - in /db/derby/code/trunk/java: engine/org/apache/derby/impl/jdbc/ testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ testing/org/apache/derbyTesting/junit/ tools/org/apache/derby/impl/tools/ij/
Date Thu, 16 Aug 2007 00:14:15 GMT
Kathey Marsden wrote:
> Daniel John Debrunner wrote:
>> Kathey Marsden wrote:
>>> Daniel John Debrunner wrote:
>>>> kmarsden@apache.org wrote:
>>>>
>>>>> Added: 
>>>>> db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DMDBugsTest.java

>>>>>
>>>>
>>>> Just curious, why add a new test class instead of just adding the 
>>>> fixture to the existing test for DatabaseMetaData?
>>>>
>>> Well with the upgrade tests DatabaseMetaData runs with old versions that
>>> 1) Don't support synonyms
>>> 2) Don't have the fix for this bug.
>>
>> Hmmmm, that's not what is intended. The comments where the 
>> DatabaseMetaDataTest is run indicate that it is only run with the new 
>> level of the software (in soft upgrade & post hard upgrade) so it 
>> should work. Any failure indicate that there is still a bug.
>>
> So this fix is only in 10.4, so if we soft/hard upgrade to a lower 
> version, e.g. 10.2, shouldn't the test fail?

No. A soft-upgrade of a 10.2 database running the 10.4 jars should use 
the 10.4 metadata queries/code, thus fixing the bug.

Dan.

Mime
View raw message