The question is quite simple, but I did not find the exact answer: In myisam db, what happens if the php file locks the table (with an atomic operation, say, INSERT), and another php file tries to access the same table (read or write )?
Now, although it is obvious that the second session will not be able to access the table, what exactly is happening? Does any error return? Does she wait in line until she can access her?
PixelSapiens
source share