MySQL Forums
Forum List  »  MyISAM

table locking expected behavior
Posted by: Kenneth Vogt
Date: January 17, 2006 07:56PM

Using a myisam table, if script #1 locks a table and has not yet unlocked it, then script #2 tries to read a row from that table without locking it, then script #3 tries to lock the same table, what is the result?

A) script #1 finishes, then script #2 gets to read its row, then script #3 does its thing
- or -
B) script #1 finishes, script #3 finishes, then script #2 gets to read its row

Options: ReplyQuote


Subject
Views
Written By
Posted
table locking expected behavior
3387
January 17, 2006 07:56PM
2075
January 17, 2006 10:44PM
1996
January 18, 2006 12:18AM
2022
January 18, 2006 01:53AM
2005
January 18, 2006 03:46PM
2102
January 18, 2006 10:30PM
2077
January 20, 2006 11:18AM
2136
January 20, 2006 11:22PM
2051
January 22, 2006 03:24PM
2082
January 22, 2006 06:46PM


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.