Re: Transaction Question CONFUSED

2002-08-20 Thread Tod Harter
On Tuesday 20 August 2002 01:26 pm, Randy Johnson wrote: > I am confused. (innodb table type) I'm really not so sure about the 'lock in share mode' thing, but to the best of my knowledge if you do a SET TRANSACTION_ISOLATION_LEVEL=SERIALIZABLE and then start a transaction where you read data f

Transaction Question CONFUSED

2002-08-20 Thread Randy Johnson
I am confused. (innodb table type) Client 1. starts transaction selects balance from table where id=1 for update update table set balance=100 #At this point from what i have read the balance could be selected by anther user. committ I have read that a select balance from table where id=1 lock