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_fk_addnode.result |
create table t1(id1 int NOT NULL PRIMARY KEY, data char(8)) engine=ndb; create table t2(id2 int NOT NULL PRIMARY KEY, id1 int, data char(8)) engine=ndb; alter table t2 algorithm=inplace, add constraint id1 foreign key (id1) references t1(id1); load data local infile 'suite/ndb/data/table_data10000.dat' into table t1 fields terminated by ' ' lines terminated by '\n' ignore 900 lines; load data local infile 'suite/ndb/data/table_data10000.dat' into table t2 fields terminated by ' ' lines terminated by '\n' ignore 900 lines (@id, data) set id1 = @id, id2 = -@id; FragmentCount 2 HashMap DEFAULT-HASHMAP-3840-2 FragmentCount 2 HashMap DEFAULT-HASHMAP-3840-2 ... id1 (id1) REFERENCES test.t1/PRIMARY KEY () on update noaction on delete noaction Nodegroup 1 created Drop Node Group 1 done Nodegroup 1 created alter online table t2 reorganize partition; Warnings: Warning 1287 'ONLINE' is deprecated and will be removed in a future release. Please use ALGORITHM=INPLACE instead alter online table t1 reorganize partition; Warnings: Warning 1287 'ONLINE' is deprecated and will be removed in a future release. Please use ALGORITHM=INPLACE instead FragmentCount 4 HashMap DEFAULT-HASHMAP-3840-4 FragmentCount 4 HashMap DEFAULT-HASHMAP-3840-4 ... id1 (id1) REFERENCES test.t1/PRIMARY KEY () on update noaction on delete noaction * 1006: Illegal reply from server * error: -2 drop table t2,t1; Drop Node Group 1 done