MySQL Forums
Forum List  »  InnoDB

Read level locking for mysql
Posted by: lata rishi
Date: April 21, 2005 12:30AM

Hi,
I require a solution for the following problem in mysql.
Like a reservation system, when multiple users are working on the same database for read lock and then update records.

One user/thread want to select some records from a table, do some operations on them.
Parallely another user also want to select records from the table, but not the one selected by first user.

How i can achieve this in mysql?

I tried using Select .. with update, but it works in the transaction mode.

Thanks
Lata Rishi

Options: ReplyQuote


Subject
Views
Written By
Posted
Read level locking for mysql
2848
April 21, 2005 12:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.