Server IP : 104.21.38.3 / Your IP : 172.68.164.120 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/mysql/src/mysql-test/suite/ndb/r/ |
Upload File : |
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