} // FOR
if (ts.hasPrefetchQueries()) {
PartitionSet stmtPartitions[] = plan.getStatementPartitions();
PrefetchState prefetchState = ts.getPrefetchState();
QueryTracker queryTracker = prefetchState.getExecQueryTracker();
assert(prefetchState != null);
for (int i = 0; i < batchSize; i++) {
// We always have to update the query tracker regardless of whether
// the query was prefetched or not. This is so that we can ensure
// that we execute the queries in the right order.
Statement stmt = batchStmts[i].getStatement();
stmtCounters[i] = queryTracker.addQuery(stmt, stmtPartitions[i], batchParams[i]);
} // FOR
// FIXME PrefetchQueryUtil.checkSQLStmtBatch(this, ts, plan, batchSize, batchStmts, batchParams);
} // PREFETCH
VoltTable results[] = null;