I have a query with the following structure:
SELECT ..... WHERE status = \'QUEUED\' ORDER BY position ASC LIMIT 1 FOR UPDATE;
It\'s a singl
There is a bug in some versions of MySQL: #67745 Too much row locks when using SELECT for UPDATE, LIMIT and ORDER BY.
Version: 5.5.28, 5.5.30, 5.7.1
Same bug on my local mysql 5.5.25 win64.