Current Path : /home/usr.opt/mysql57/mysql-test/suite/ndb/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/ndb/r/ndb_alter_table_error.result |
******************************* * basic concurent online alter test ******************************* * With Commit ******************************* CREATE TABLE t1 (a INT UNSIGNED, b INT UNSIGNED not null, primary key(a)) ENGINE NDB; begin; update t1 set b = b + 1 where a = 1; ALTER TABLE t1 algorithm=copy, ADD c CHAR(19); ERROR HY000: Lock wait timeout exceeded; try restarting transaction commit; ALTER TABLE t1 algorithm=copy, ADD c CHAR(19); create unique index b_unq on t1(b) using hash; ERROR 23000: Can't write, because of unique constraint, to table 't1' update t1 set b = b - 1 where a = 1; create unique index b_unq on t1(b) using hash; DROP TABLE t1;