summaryrefslogtreecommitdiff
path: root/mysql-test/extra
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-11-15 10:31:23 +0100
committerunknown <msvensson@neptunus.(none)>2006-11-15 10:31:23 +0100
commit4e0cace23d0f0dd61c288dbeb6447d80b025a924 (patch)
tree3cf80a037e826309a697cf8b347a929f0d8290bf /mysql-test/extra
parent37b4ad8cca9c095507affbf024f2dd254371fcf1 (diff)
parent8b8647ff42757f0908340b054ec3d74c56ebfcb0 (diff)
downloadmariadb-git-4e0cace23d0f0dd61c288dbeb6447d80b025a924.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint mysql-test/extra/rpl_tests/rpl_deadlock.test: Auto merged mysql-test/extra/rpl_tests/rpl_max_relay_size.test: Auto merged mysql-test/r/key_cache.result: Auto merged mysql-test/r/rpl_deadlock_innodb.result: Auto merged mysql-test/r/rpl_sp.result: Auto merged mysql-test/r/rpl_stm_max_relay_size.result: Auto merged mysql-test/r/rpl_timezone.result: Auto merged mysql-test/r/type_float.result: Auto merged mysql-test/r/view_grant.result: Auto merged mysql-test/t/init_connect.test: Auto merged mysql-test/t/mysqldump.test: Auto merged mysql-test/t/view_grant.test: Auto merged mysql-test/r/mysqldump.result: Manual merge mysql-test/r/rpl_drop_db.result: Manual merge mysql-test/r/rpl_variables.result: Manual merge mysql-test/t/rpl_drop_db.test: Manual merge mysql-test/t/rpl_sp.test: Manual merge mysql-test/t/rpl_timezone.test: Manual merge mysql-test/t/rpl_variables.test: Manual merge
Diffstat (limited to 'mysql-test/extra')
-rw-r--r--mysql-test/extra/rpl_tests/rpl_deadlock.test3
-rw-r--r--mysql-test/extra/rpl_tests/rpl_max_relay_size.test5
2 files changed, 7 insertions, 1 deletions
diff --git a/mysql-test/extra/rpl_tests/rpl_deadlock.test b/mysql-test/extra/rpl_tests/rpl_deadlock.test
index 64df1f272cc..adf35a92dc6 100644
--- a/mysql-test/extra/rpl_tests/rpl_deadlock.test
+++ b/mysql-test/extra/rpl_tests/rpl_deadlock.test
@@ -91,7 +91,7 @@ show slave status;
# Now we repeat 2), but with BEGIN in the same relay log as
# COMMIT (to see if seeking into hot log is ok).
-
+set @my_max_relay_log_size= @@global.max_relay_log_size;
set global max_relay_log_size=0;
# This is really copy-paste of 2) of above
@@ -114,5 +114,6 @@ show slave status;
connection master;
drop table t1,t2,t3,t4;
sync_slave_with_master;
+set global max_relay_log_size= @my_max_relay_log_size;
# End of 4.1 tests
diff --git a/mysql-test/extra/rpl_tests/rpl_max_relay_size.test b/mysql-test/extra/rpl_tests/rpl_max_relay_size.test
index 50325f83358..5b995374ba0 100644
--- a/mysql-test/extra/rpl_tests/rpl_max_relay_size.test
+++ b/mysql-test/extra/rpl_tests/rpl_max_relay_size.test
@@ -34,6 +34,7 @@ reset slave;
--echo # Test 1
--echo #
+set @my_max_binlog_size= @@global.max_binlog_size;
set global max_binlog_size=8192;
set global max_relay_log_size=8192-1; # mapped to 4096
select @@global.max_relay_log_size;
@@ -130,6 +131,10 @@ flush logs;
-- replace_column 3 <Binlog_Ignore_DB>
show master status;
+# Restore max_binlog_size
+connection slave;
+set global max_binlog_size= @my_max_binlog_size;
+
--echo #
--echo # End of 4.1 tests
--echo #