summaryrefslogtreecommitdiff
path: root/mysql-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
commitb110c2a412a3431d9c3ecbfee7dfb41447e2fe0d (patch)
treee6bcb6e78efce750d0d73893bab34d46e63d19c7 /mysql-test
parentf95597ec99732b7800f4c1aed8125d3fa67401cc (diff)
downloadmariadb-git-b110c2a412a3431d9c3ecbfee7dfb41447e2fe0d.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')
-rw-r--r--mysql-test/r/rpl000001.result2
-rw-r--r--mysql-test/t/rpl000001.test19
2 files changed, 11 insertions, 10 deletions
diff --git a/mysql-test/r/rpl000001.result b/mysql-test/r/rpl000001.result
index 7b10357b670..a80fb618457 100644
--- a/mysql-test/r/rpl000001.result
+++ b/mysql-test/r/rpl000001.result
@@ -5,8 +5,6 @@ sum(length(word))
71
(@id := id) - id
0
-Master_Host Master_User Master_Port Connect_retry Log_File Pos Slave_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter
-127.0.0.1 root 9999 1 master-bin.001 939 No 1053 Slave: query ' update t1 set n = n + get_lock('crash_lock', 2)' partially completed on the master and was aborted. There is a chance that your master is inconsistent at this point. If you are sure that your master is ok, run this query manually on the slave and then restart the slave with SET SQL_SLAVE_SKIP_COUNTER=1; SLAVE START; 0
count(*)
10
n
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;