summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-02-19 23:08:24 -0700
committerunknown <sasha@mysql.sashanet.com>2001-02-19 23:08:24 -0700
commitf80c3cb4f1fbd974859faa5033d8e5ad7f528c9e (patch)
treed846ff87969a7db74d7c410f2673aebb2d4af102 /mysql-test
parentd4bde747183609cb798e4c219bb4801fbfd2f564 (diff)
downloadmariadb-git-f80c3cb4f1fbd974859faa5033d8e5ad7f528c9e.tar.gz
replication fixes
Docs/manual.texi: updates from Matthias Urlichs mysql-test/r/rpl000016.result: position sanity check - hope to catch the timing bug mysql-test/t/rpl000016.test: position sanity check - hope to catch timing bug sql/log_event.cc: limit event length by max_allowed_packet sql/log_event.h: abolish MAX_EVENT_LEN sql/sql_repl.cc: error for events larger than max_allowed_packet
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/rpl000016.result4
-rw-r--r--mysql-test/t/rpl000016.test2
2 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/rpl000016.result b/mysql-test/r/rpl000016.result
index 39ea7234e2a..613a97d5b7e 100644
--- a/mysql-test/r/rpl000016.result
+++ b/mysql-test/r/rpl000016.result
@@ -21,5 +21,9 @@ Log_name
master-bin.003
master-bin.004
master-bin.005
+File Position Binlog_do_db Binlog_ignore_db
+master-bin.005 1504
+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 9306 60 master-bin.005 1504 Yes 0 0
count(*)
100
diff --git a/mysql-test/t/rpl000016.test b/mysql-test/t/rpl000016.test
index fd30188ea89..a12fde7eb4c 100644
--- a/mysql-test/t/rpl000016.test
+++ b/mysql-test/t/rpl000016.test
@@ -78,11 +78,13 @@ while ($1)
dec $1;
}
show master logs;
+show master status;
save_master_pos;
connection slave;
slave stop;
slave start;
sync_with_master;
+show slave status;
select count(*) from t3 where n = 4;
#clean up
connection master;