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
2956
January 17, 2006 07:56PM
1886
January 17, 2006 10:44PM
1802
January 18, 2006 12:18AM
1830
January 18, 2006 01:53AM
1790
January 18, 2006 03:46PM
1910
January 18, 2006 10:30PM
1886
January 20, 2006 11:18AM
1924
January 20, 2006 11:22PM
1876
January 22, 2006 03:24PM
1895
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.