summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb/r/snapshot.result
blob: fa4ec2bdc21f6909225aed0383d1604f89dd6775 (plain)
1
2
3
4
5
6
7
8
9
10
START TRANSACTION WITH CONSISTENT SNAPSHOT;
connect  con1,localhost,root,,test;
CREATE TABLE IF NOT EXISTS t1 (pk INT PRIMARY KEY, i INT, KEY(i)) ENGINE=InnoDB;
connection default;
UPDATE t1 SET i = 0;
ERROR HY000: Table definition has changed, please retry transaction
UPDATE t1 SET pk = 0;
ERROR HY000: Table definition has changed, please retry transaction
commit;
drop table t1;