124125126127128129130131132133134
int[] colMap = ArrayUtil.booleanArrayToIntIndexes(columnCheck); list.addRow(session, row, data, baseTable.getColumnTypes(), colMap); list.endMainDataSet(); update(session, baseTable, list, null); break; } case ResultConstants.DELETE_CURSOR : {
140141142143144145146147148149150
RowSetNavigatorDataChange list = session.sessionContext.getRowSetDataChange(); list.addRow(row); list.endMainDataSet(); delete(session, baseTable, list); break; } case ResultConstants.INSERT_CURSOR : {
531532533534535536537538539540541
rowset.addRow(session, row, newData, colTypes, updateColumnMap); session.sessionContext.rownum++; } rowset.endMainDataSet(); it.release(); /* debug 190 if (rowset.size() == 0) { System.out.println(targetTable.getName().name + " zero update: session " + session.getId());
755756757758759760761762763764765
throw Error.error(ErrorCode.X_21000); } } } updateRowSet.endMainDataSet(); for (int i = 0; i < joinRangeIterators.length; i++) { rangeIterators[i].reset(); }
11691170117111721173117411751176117711781179
session.sessionContext.rownum++; } it.release(); rowset.endMainDataSet(); if (rowset.getSize() > 0) { count = delete(session, baseTable, rowset); } else { session.addWarning(HsqlException.noDataCondition);