Hi
User A
(Committed read)
1.Begin Work
2."Select for update" of a row (id=1)
3...
User B
(Committed read)
1.Se Lock Mode to Wait
2.Select where id>0 (there are are rows with id=1,id=2,id=3)
3.Fetch the rows
After step 2 User B have to wait until User A ends the transaction...
I wonder why if User B SET LOCK MODE TO NO WAIT, he can fetch the rows without problem. I think he should get an error message.
Or am I wrong?