}
// -------------------------------
// DEFERRED QUERIES
// -------------------------------
else if (work instanceof DeferredQueryMessage) {
DeferredQueryMessage def_work = (DeferredQueryMessage)work;
// Set the txnId in our handle to be what the original txn was that
// deferred this query.
tmp_def_stmt[0] = def_work.getStmt();
tmp_def_params[0] = def_work.getParams();
tmp_def_txn.init(def_work.getTxnId(),
-1, // We don't really need the clientHandle
EstTime.currentTimeMillis(),
this.partitionId,
catalogContext.getPartitionSetSingleton(this.partitionId),
false,
false,
tmp_def_stmt[0].getProcedure(),
def_work.getParams(),
null // We don't need the client callback
);
this.executeSQLStmtBatch(tmp_def_txn, 1, tmp_def_stmt, tmp_def_params, false, false);
}
// -------------------------------