int count = 0;
Expression[] colExpressions = updateExpressions;
HashMappedList rowset = new HashMappedList();
Type[] colTypes = baseTable.getColumnTypes();
RangeIteratorBase it = RangeVariable.getIterator(session,
targetRangeVariables);
Expression checkCondition = null;
if (targetTable != baseTable) {
checkCondition =
((TableDerived) targetTable).getQueryExpression()
.getMainSelect().checkQueryCondition;
}
while (it.next()) {
session.sessionData.startRowProcessing();
Row row = it.getCurrentRow();
Object[] data = row.getData();
Object[] newData = getUpdatedData(session, baseTable,
updateColumnMap, colExpressions,
colTypes, data);