Author: shawkins
Date: 2011-10-18 12:56:26 -0400 (Tue, 18 Oct 2011)
New Revision: 3564
Modified:
trunk/engine/src/main/java/org/teiid/query/processor/BatchedUpdatePlan.java
Log:
TEIID-1787 fix for batched update
Modified: trunk/engine/src/main/java/org/teiid/query/processor/BatchedUpdatePlan.java
===================================================================
--- trunk/engine/src/main/java/org/teiid/query/processor/BatchedUpdatePlan.java 2011-10-18
16:53:54 UTC (rev 3563)
+++ trunk/engine/src/main/java/org/teiid/query/processor/BatchedUpdatePlan.java 2011-10-18
16:56:26 UTC (rev 3564)
@@ -68,8 +68,8 @@
* commands have been batched together.
* @since 4.2
*/
- public BatchedUpdatePlan(List childPlans, int commandsInBatch,
List<VariableContext> contexts) {
- this.updatePlans = (ProcessorPlan[])childPlans.toArray(new
ProcessorPlan[childPlans.size()]);
+ public BatchedUpdatePlan(List<? extends ProcessorPlan> childPlans, int
commandsInBatch, List<VariableContext> contexts) {
+ this.updatePlans = childPlans.toArray(new ProcessorPlan[childPlans.size()]);
this.planOpened = new boolean[updatePlans.length];
this.updateCounts = new List[commandsInBatch];
this.contexts = contexts;
Show replies by date