Skip to content

Commit

Permalink
Fix a test result
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Aug 15, 2017
1 parent c724fcd commit a5e4365
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mysql-test/suite/galera/r/galera_toi_ddl_fk_update.result
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@ parent_id INT
) ENGINE=InnoDB;
INSERT INTO parent VALUES (1);
INSERT INTO child (parent_id) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4;
connection node_1;
ALTER TABLE child ADD FOREIGN KEY (parent_id) REFERENCES parent(id) ON UPDATE CASCADE;;
connection node_2;
UPDATE parent SET id = 2 WHERE id = 1;;
connection node_1;
connection node_2;
connection node_2;
SELECT COUNT(*) = 10000 FROM child WHERE parent_id = 2;
COUNT(*) = 10000
1
connection node_1;
SELECT COUNT(*) = 10000 FROM child WHERE parent_id = 2;
COUNT(*) = 10000
1
Expand Down

0 comments on commit a5e4365

Please sign in to comment.