Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions mysql-test/suite/innodb/t/skip_locked_nowait.test
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ connection con1;
SET @g = ST_GeomFromText('POLYGON((0 0,0 3,3 3,0 3,0 0))');
SELECT seat_id, state, ST_AsText(pos) FROM t1 FORCE INDEX (pos)
WHERE state = 0 AND MBRWithin(pos, @g) FOR UPDATE;
# ensure the state cleanup that performs external_lock(F_UNLCK)
# so the next default connection can obtain the lock without
# a timeout
--ping

connection default;
BEGIN;
Expand Down
Loading