mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
BUG#40257: Please remove --loose-skip-innodb from suite/rpl/rpl_1slave_base.cnf
Removed the flag that disables innodb on slave in the default configuration of replication tests. That made the explicit --innodb flag in -slave.opt files redundant, so lots of -slave.opt files could be removed. Also, -master.opt files containing reduntant --innodb flag were removed (those were redundant even without changing the default). Removing .opt files is good because .opt files cause server restarts and make tests less readable. Also fixed a bug where rpl_innodb_mixed_ddl unintentionally used myisam on slave. mysql-test/suite/rpl/r/rpl_innodb.result: updated result file mysql-test/suite/rpl/r/rpl_innodb_mixed_ddl.result: updated result file. this is how the test is supposed to be, it was a bug that it used myisam on the slave. mysql-test/suite/rpl/rpl_1slave_base.cnf: Removed flag to disable innodb on slave, and added explicit --loose-innodb flags on both master and slave. mysql-test/suite/rpl/t/rpl_innodb.test: Ensure that the slave uses myisam (this was previously done by not adding the --innodb flag on slave).
This commit is contained in:
@@ -77,7 +77,7 @@ t1 CREATE TABLE `t1` (
|
||||
`b` char(254) DEFAULT NULL,
|
||||
PRIMARY KEY (`a`),
|
||||
KEY `index1` (`b`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
SHOW CREATE TABLE t2;
|
||||
Table Create Table
|
||||
t2 CREATE TABLE `t2` (
|
||||
@@ -85,7 +85,7 @@ t2 CREATE TABLE `t2` (
|
||||
`b` char(254) DEFAULT NULL,
|
||||
PRIMARY KEY (`a`),
|
||||
KEY `index1` (`b`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
|
||||
******************** DDL for indexes ********************
|
||||
ALTER TABLE t2 ADD COLUMN d datetime;
|
||||
@@ -120,7 +120,7 @@ t1 CREATE TABLE `t1` (
|
||||
`b` char(254) DEFAULT NULL,
|
||||
PRIMARY KEY (`a`),
|
||||
KEY `index1` (`b`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
SHOW CREATE TABLE t2;
|
||||
Table Create Table
|
||||
t2 CREATE TABLE `t2` (
|
||||
@@ -131,7 +131,7 @@ t2 CREATE TABLE `t2` (
|
||||
KEY `index1` (`b`),
|
||||
KEY `index2` (`d`),
|
||||
KEY `index3` (`a`,`d`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
ALTER TABLE t2 DROP COLUMN d;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user