|
Attaching second rev of the patch. The regression tests turned up a follow-on problem: in order to determine if the VTI class implements VTICosting, we need to get the VTICosting class from the same classloader as the table function class. Running tests again...
Tests ran cleanly for me except for the heisenbug in the stress-multi tests. Committed second rev of the patch at subversion revision 759360.
Ported 759360 from main to 10.5 branch at subversion revision 759363.
Ported 759360 from main to 10.4 branch at subversion revision 759978.
Krzysztof, who reported this bug, says that the fix works for him. Closing this bug.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Touches the following files:
M java/engine/org/apache/derby/impl/sql/compile/FromVTI.java
Use the session class loader when looking for optimizer overrides.
A java/testing/org/apache/derbyTesting/functionTests/tests/lang/dummy_vti.jar
M java/testing/org/apache/derbyTesting/functionTests/tests/lang/DatabaseClassLoadingTest.java
New test to verify that this fixes the problem.