Kathey Marsden wrote:
Daniel John Debrunner wrote:
Kathey Marsden wrote:
Daniel John Debrunner wrote:
[EMAIL PROTECTED] 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.