Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb/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/innodb/r/innodb_bug53046.result |
CREATE TABLE bug53046_1 (c1 INT PRIMARY KEY) ENGINE=INNODB; CREATE TABLE bug53046_2 (c2 INT PRIMARY KEY, FOREIGN KEY (c2) REFERENCES bug53046_1(c1) ON UPDATE CASCADE ON DELETE CASCADE) ENGINE=INNODB; INSERT INTO bug53046_1 VALUES (1); INSERT INTO bug53046_1 SELECT c1+(SELECT MAX(c1) FROM bug53046_1) FROM bug53046_1; INSERT INTO bug53046_1 SELECT c1+(SELECT MAX(c1) FROM bug53046_1) FROM bug53046_1; INSERT INTO bug53046_1 SELECT c1+(SELECT MAX(c1) FROM bug53046_1) FROM bug53046_1; INSERT INTO bug53046_1 SELECT c1+(SELECT MAX(c1) FROM bug53046_1) FROM bug53046_1; INSERT INTO bug53046_1 SELECT c1+(SELECT MAX(c1) FROM bug53046_1) FROM bug53046_1; INSERT INTO bug53046_2 VALUES (1), (2); ANALYZE TABLE bug53046_1; Table Op Msg_type Msg_text test.bug53046_1 analyze status OK SHOW TABLE STATUS LIKE 'bug53046_1'; UPDATE bug53046_1 SET c1 = c1 - 1; DELETE FROM bug53046_1; INSERT INTO bug53046_1 VALUES (1); INSERT INTO bug53046_2 VALUES (1); TRUNCATE TABLE bug53046_2; DROP TABLE bug53046_2; DROP TABLE bug53046_1;