/[Apache-SVN]
ViewVC logotype

Revision 1550113


Jump to revision: Previous Next
Author: dag
Date: Wed Dec 11 11:47:32 2013 UTC (10 years, 4 months ago)
Changed paths: 2
Log Message:
DERBY-532 Support deferrable constraints

A patch ("derby-532-fix-metadata-1") that fixes broken database
metadata for deferred constraint indexes: the metadata query used the
method IndexDescriptor#isUnique to determine logical uniqueness, but
it really represents physical uniqueness now. For deferred unique
constraints, the method that should be used is
"isUniqueDeferrable". Added a test, and also added client/server run
of the regression test for deferred constraints.

Before the fix, the added test fixture "testDatabaseMetaData" failed
in that the index in question was identified as non unique, but it is
logically unique and so should be reported as such.



Changed paths

Path Details
Directorydb/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/metadata.properties modified , text changed
Directorydb/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/ConstraintCharacteristicsTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26