mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Fix missing --replace_result on $SLAVE_MYPORT in federated.
This commit is contained in:
parent
808bcce589
commit
a002d316ed
2 changed files with 2 additions and 1 deletions
|
@ -1530,7 +1530,7 @@ CREATE TABLE federated.t1 (
|
|||
PRIMARY KEY (`id`)
|
||||
)
|
||||
ENGINE="FEDERATED" DEFAULT CHARSET=latin1
|
||||
CONNECTION='mysql://root@127.0.0.1:9308/federated/t1';
|
||||
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1';
|
||||
INSERT INTO federated.t1 VALUES ();
|
||||
SELECT LAST_INSERT_ID();
|
||||
LAST_INSERT_ID()
|
||||
|
|
|
@ -1235,6 +1235,7 @@ CREATE TABLE federated.t1 (
|
|||
|
||||
connection master;
|
||||
DROP TABLE IF EXISTS federated.t1;
|
||||
--replace_result $SLAVE_MYPORT SLAVE_PORT
|
||||
eval CREATE TABLE federated.t1 (
|
||||
`id` int(20) NOT NULL auto_increment,
|
||||
PRIMARY KEY (`id`)
|
||||
|
|
Loading…
Add table
Reference in a new issue