⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
suite
/
innodb
/
r
/
View File Name :
bulk_create_index_online.result
# # BUG#19316315 CRASH RECOVERY FAILS AFTER ONLINE ADD INDEX # CREATE TABLE t1 (c1 INT PRIMARY KEY, c2 INT) ENGINE=InnoDB; INSERT INTO t1 VALUES (1,1), (2,2), (3,3), (4,4), (5,5); SET DEBUG_SYNC = 'RESET'; SET DEBUG_SYNC = 'row_log_apply_after SIGNAL apply_after WAIT_FOR insert_after'; ALTER TABLE t1 ADD UNIQUE INDEX(c2); SET DEBUG_SYNC = 'now WAIT_FOR apply_after'; INSERT INTO t1 VALUES(6, 6); # Kill and restart SELECT * FROM t1; c1 c2 1 1 2 2 3 3 4 4 5 5 6 6 DROP TABLE t1; CREATE TABLE parent (a INT PRIMARY KEY, b INT NOT NULL) ENGINE = InnoDB; INSERT INTO parent VALUES(1,2),(2,2); CREATE TABLE child (a INT PRIMARY KEY, b INT NOT NULL) ENGINE = InnoDB; INSERT INTO child VALUES (10, 2); SET DEBUG_SYNC = 'innodb_inplace_alter_table_enter SIGNAL start_create WAIT_FOR go_ahead'; CREATE UNIQUE INDEX idx ON parent(b);; SET DEBUG_SYNC = 'now WAIT_FOR start_create'; INSERT INTO parent VALUES(4, 2); SET DEBUG_SYNC = 'now SIGNAL go_ahead'; ERROR 23000: Duplicate entry '2' for key 'idx' SET DEBUG_SYNC = 'now SIGNAL conn_add_fk'; SET DEBUG_SYNC = 'now WAIT_FOR conn_add_fk'; ALTER TABLE child ADD CONSTRAINT cfx FOREIGN KEY (b) REFERENCES parent(b); ERROR HY000: Cannot add foreign key constraint DROP TABLE child; DROP TABLE parent;