summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000001.test
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.fi>2001-04-18 02:53:21 +0300
committerunknown <monty@donna.mysql.fi>2001-04-18 02:53:21 +0300
commit583160afe2a741c70f65f71b6b9cc47516e8b595 (patch)
treee6bcb6e78efce750d0d73893bab34d46e63d19c7 /mysql-test/t/rpl000001.test
parentc8f1969e2e2e93b8aaee2998134bb53df92b7d94 (diff)
downloadmariadb-git-583160afe2a741c70f65f71b6b9cc47516e8b595.tar.gz
Don't force conf_to_src to be static an all systems
Removed unpredictable test from rpl000001.test Docs/manual.texi: Added some information about table locks libmysql/Makefile.shared: Don't force conf_to_src to be static an all systems mysql-test/r/rpl000001.result: Removed unpredictable test mysql-test/t/rpl000001.test: Removed unpredictable test scripts/mysql_zap.sh: Added --help strings/ctype-ujis.c: Removed warnings
Diffstat (limited to 'mysql-test/t/rpl000001.test')
-rw-r--r--mysql-test/t/rpl000001.test19
1 files changed, 11 insertions, 8 deletions
diff --git a/mysql-test/t/rpl000001.test b/mysql-test/t/rpl000001.test
index 6f48daf7e08..dc29aea93ff 100644
--- a/mysql-test/t/rpl000001.test
+++ b/mysql-test/t/rpl000001.test
@@ -1,22 +1,21 @@
source include/master-slave.inc;
connection master;
use test;
-drop table if exists t1;
+drop table if exists t1,t3;
create table t1 (word char(20) not null);
load data infile '../../std_data/words.dat' into table t1;
-drop table if exists foo;
set password = password('foo');
set password = password('');
-create table foo(n int);
-insert into foo values(1),(2);
+create table t3(n int);
+insert into t3 values(1),(2);
save_master_pos;
connection slave;
sync_with_master;
use test;
-select * from foo;
+select * from t3;
select sum(length(word)) from t1;
connection master;
-drop table t1;
+drop table t1,t3;
save_master_pos;
connection slave;
sync_with_master;
@@ -59,8 +58,12 @@ connection slave;
sync_with_master ;
#give the slave a chance to exit
sleep 0.5;
---replace_result 9306 9999 3334 9999 3335 9999
-show slave status;
+
+# The following test can't be done because the result of Pos will differ
+# on different computes
+# --replace_result 9306 9999 3334 9999 3335 9999
+# show slave status;
+
set sql_slave_skip_counter=1;
slave start;
select count(*) from t1;