You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT seat_no, row_no, cost
FROM seats s JOIN seat_rows sr USING ( row_no )
WHERE seat_no IN ( 3,4 ) ANDsr.row_noIN ( 5,6 )
AND booked ='NO'
FOR UPDATE OF s SKIP LOCKED;
SELECT seat_no
FROM seats JOIN seat_rows USING ( row_no )
WHERE seat_no IN (3,4) ANDseat_rows.row_noIN (12)
AND booked ='NO'
FOR UPDATE OF seats SKIP LOCKED
FOR SHARE OF seat_rows;
https://dev.mysql.com/blog-archive/mysql-8-0-1-using-skip-locked-and-nowait-to-handle-hot-rows/
The text was updated successfully, but these errors were encountered: