Author: shawkins
Date: 2011-11-21 20:39:42 -0500 (Mon, 21 Nov 2011)
New Revision: 3681
Modified:
branches/7.6.x/engine/src/main/java/org/teiid/query/optimizer/relational/RelationalPlanner.java
Log:
TEIID-1846 fix for access pattern failure. the unit test was committed to trunk
Modified:
branches/7.6.x/engine/src/main/java/org/teiid/query/optimizer/relational/RelationalPlanner.java
===================================================================
---
branches/7.6.x/engine/src/main/java/org/teiid/query/optimizer/relational/RelationalPlanner.java 2011-11-21
23:03:58 UTC (rev 3680)
+++
branches/7.6.x/engine/src/main/java/org/teiid/query/optimizer/relational/RelationalPlanner.java 2011-11-22
01:39:42 UTC (rev 3681)
@@ -623,7 +623,7 @@
if (c != null) {
if (c instanceof TriggerAction) {
TriggerAction ta = (TriggerAction)c;
- ProcessorPlan plan = new TriggerActionPlanner().optimize(container, ta, idGenerator,
metadata, capFinder, analysisRecord, context);
+ ProcessorPlan plan = new TriggerActionPlanner().optimize((ProcedureContainer)
container.clone(), ta, idGenerator, metadata, capFinder, analysisRecord, context);
sourceNode.setProperty(NodeConstants.Info.PROCESSOR_PLAN, plan);
return true;
}