*** Bug #34174 ***
SET @@storage_engine = 'Falcon';
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (f1 int primary key, f2 int);
# establishing conn1
# switching to default connection
START TRANSACTION;
INSERT INTO t1 VALUES (0,0);
# switching to conn1
START TRANSACTION;
SELECT * FROM t1;
f1	f2
INSERT INTO t1 VALUES (1,1);
INSERT INTO t1 VALUES (0,3);
# switching to default connection
SELECT * FROM t1;
f1	f2
0	0
UPDATE t1 SET f1 = 1, f2 = 4;
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
SELECT * FROM t1;
f1	f2
0	0
ROLLBACK;
# switching to conn1
COMMIT;
SELECT * FROM t1;
f1	f2
1	1
0	3
# switching to default connection
DROP TABLE t1;
