1 CREATE TABLE bug13510739 (c INTEGER NOT NULL, PRIMARY KEY (c)) ENGINE=INNODB;
2 INSERT INTO bug13510739 VALUES (1), (2), (3), (4);
3 DELETE FROM bug13510739 WHERE c=2;
4 HANDLER bug13510739 OPEN;
5 HANDLER bug13510739 READ `primary` = (2);
7 HANDLER bug13510739 READ `primary` NEXT;
10 DROP TABLE bug13510739;