Closed tayyabhussain closed 8 years ago
The table is not being locked, instead the logic inserts a random string into the lock column using 'where NULL' and then reads the row back to make sure the row was updated. In the case of a race condition only one process will actually change the row and therefore proceed with the event processing.
Storage engine for mysql locking a table should be one of these (MyISAM, MEMORY or MERGE) as explained here mysql locking but in your table says it is innoDB