Looks like the 1.6 version of the canon has been deleted. I'm doing an update and will re-run tests, I think I can't depend on my current snapshot any more.

David

Dag H. Wanvik (JIRA) wrote:
[ http://issues.apache.org/jira/browse/DERBY-1266?page=comments#action_12378423 ]
Dag H. Wanvik commented on DERBY-1266:
--------------------------------------

It looks good to me, except I think you should update the 1.6 version of the 
canon, as well.
When that's done it is ready to go, I'd say.


Client: Attempted deleteRow or updateRow while on insert row gives wrong error 
message
--------------------------------------------------------------------------------------

         Key: DERBY-1266
         URL: http://issues.apache.org/jira/browse/DERBY-1266
     Project: Derby
        Type: Bug

  Components: Network Client
    Versions: 10.2.0.0
 Environment: any
    Reporter: Dag H. Wanvik
    Assignee: David Van Couvering
    Priority: Minor
     Fix For: 10.2.0.0
 Attachments: DERBY-1266-1.diff, DERBY-1266-2.diff

This fragment from deleteRowX shows the problem:
if (isOnInsertRow_) {
throw new SqlException(agent_.logWriter_, new MessageId(SQLState.CURSOR_NOT_POSITIONED_ON_INSERT_ROW));
}
It should be the opposite: the problem is that the cursor *is* on the
insert row, not that it isn't.
These is a similar error in updateRowX.
The client master files for updatableResultSet show the problem, so
the masters are wrong, too.
Negative Test 39.a - run updateRow on insertRow
SQL State: XJ086
Got expected exception: This method cannot be invoked while the
cursor is not on the insert row or if the concurrency of this ResultSet object is CONCUR_READ_ONLY.

Reply via email to