/[Apache-SVN]
ViewVC logotype

Revision 619932


Jump to revision: Previous Next
Author: abrown
Date: Fri Feb 8 16:31:44 2008 UTC (21 months, 2 weeks ago)
Changed paths: 4
Log Message:
DERBY-3288: Fix optimizer dependency tracking logic so that it
correctly enforces join order dependencies between Optimizables,
even when plan "short-circuiting" occurs.  This patch also fixes
a bug in FromVTI's referenced table map (which affects dependencies)
and does a slight refactoring of the "pull Optimizable" code for
the sake of clarity.  And finally, it adds an appropriate test
case to the existing lang/subqueryFlattening.sql test.

Port from trunk to 10.3.  The "svn merge" command failed due to
changes in FromVTI which were made in 10.4 (as part of DERBY-716)
but which were not ported back to 10.3.  So this is a commit of the
manually-merged patch 'd3288_10_3_merge.patch', as attached to
the Jira.

Changed paths:

Path Details
Directorydb/derby/code/branches/10.3/java/engine/org/apache/derby/impl/sql/compile/FromVTI.java modified , text changed
Directorydb/derby/code/branches/10.3/java/engine/org/apache/derby/impl/sql/compile/OptimizerImpl.java modified , text changed
Directorydb/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/master/subqueryFlattening.out modified , text changed
Directorydb/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/lang/subqueryFlattening.sql modified , text changed

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2