summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000004.test
diff options
context:
space:
mode:
authorunknown <jmiller@mysql.com>2006-02-03 01:59:02 +0100
committerunknown <jmiller@mysql.com>2006-02-03 01:59:02 +0100
commit9c5dbcc8e23390b609114fc2054fb1b47c2f4c7d (patch)
tree1ae2e6fc302855e3e58d75e29bc9a31b30ab2783 /mysql-test/t/rpl000004.test
parentf0263ac452817f83d28047a20399fdef1e232e9a (diff)
downloadmariadb-git-9c5dbcc8e23390b609114fc2054fb1b47c2f4c7d.tar.gz
First set of rpl test updated for NDB and general test cleanup
mysql-test/t/rpl000004.test: Updated test so it would not fail when MyISAM was not default Engine mysql-test/r/rpl000004.result: Updated test so it would not fail when MyISAM was not default Engine mysql-test/extra/rpl_tests/rpl000006.test: Updated test so that it would not fail when other engines are set as default engine mysql-test/r/rpl000006.result: Updated test so that it would not fail when other engines are set as default engine mysql-test/r/rpl_relay_space_myisam.result: Rename: mysql-test/r/rpl000005.result -> mysql-test/r/rpl_relay_space_myisam.result mysql-test/extra/rpl_tests/rpl_sv_relay_space.test: Had to split the test cases out to use for each engine. Reason being that the data goes applies to ndb in different order. So it has to have its own result file and I want to ensure that it is not used for other tests when ndb is used as default engine. Old test case was called rpl000009.test, so it was renamed as well to give the test more meaning mysql-test/t/rpl_relay_space_innodb-master.opt: Wrapper for old test case called rpl000009.test mysql-test/t/rpl_relay_space_innodb-slave.opt: Wrapper for old test case called rpl000009.test mysql-test/t/rpl_relay_space_innodb.test: Wrapper for old test case called rpl000009.test mysql-test/t/rpl_relay_space_myisam.test: Wrapper for old test case called rpl000009.test mysql-test/t/rpl_ndb_relay_space.test: Wrapper for old test case called rpl000009.test mysql-test/r/rpl_ndb_relay_space.result: Result file for wrapper for old test case called rpl000009.test mysql-test/r/rpl_relay_space_innodb.result: Result file for wrapper for old test case called rpl000009.test mysql-test/r/rpl_relay_space_ndb.result: Result file for wrapper for old test case called rpl000009.test mysql-test/t/rpl000009.test: updated to work when ndb is default engine mysql-test/r/rpl000009.result: updated to work when ndb is default engine mysql-test/t/rpl_LD_INFILE.test: Plan test cleanup mysql-test/r/rpl_LD_INFILE.result: Plan test cleanup mysql-test/t/rpl_auto_increment-slave.opt: needed to ensure test does not fail if default engine is specified mysql-test/extra/rpl_tests/rpl_auto_increment.test: Sorry, forgot to cleanup from debugging mysql-test/t/rpl_ndb_auto_inc.test: New wrapper for NDB mysql-test/t/rpl_ndb_auto_inc-master.opt: New wrapper for NDB mysql-test/r/rpl_ndb_auto_inc.result: New wrapper for NDB mysql-test/t/disabled.def: Updated
Diffstat (limited to 'mysql-test/t/rpl000004.test')
-rw-r--r--mysql-test/t/rpl000004.test14
1 files changed, 11 insertions, 3 deletions
diff --git a/mysql-test/t/rpl000004.test b/mysql-test/t/rpl000004.test
index f2a02bd4dd6..993b804d469 100644
--- a/mysql-test/t/rpl000004.test
+++ b/mysql-test/t/rpl000004.test
@@ -1,11 +1,19 @@
+######################################
+# Change Author: JBM
+# Change Date: 2006-02-02
+# Change: Added ENGINE=MyISAM
+# Reason: LOAD FROM MASTER is only supported from
+# MyISAM, therefore there is no reason for this test
+# To use anyother Engine
+######################################
source include/master-slave.inc;
set SQL_LOG_BIN=0;
-create table t1 (word char(20) not null, index(word));
+create table t1 (word char(20) not null, index(word))ENGINE=MyISAM;
load data infile '../../std_data/words.dat' into table t1;
-create table t2 (word char(20) not null);
+create table t2 (word char(20) not null)ENGINE=MyISAM;
load data infile '../../std_data/words.dat' into table t2;
-create table t3 (word char(20) not null primary key);
+create table t3 (word char(20) not null primary key)ENGINE=MyISAM;
connection slave;
load table t1 from master;
load table t2 from master;