mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge 4.1 -> 5.0.
This commit is contained in:
@@ -60,6 +60,23 @@ select max(a) from t1;
|
||||
--replace_column 1 # 8 # 9 # 23 # 33 #
|
||||
--replace_result $MASTER_MYPORT MASTER_MYPORT
|
||||
show slave status;
|
||||
connection master;
|
||||
|
||||
# binlog_cache_use and binlog_cache_disk_use status vars test
|
||||
# This test uses the previous test. Namely, it needs the long
|
||||
# transaction that adds 8000 lines to the t1 table.
|
||||
|
||||
show status like "binlog_cache_use";
|
||||
show status like "binlog_cache_disk_use";
|
||||
|
||||
# transaction which should not be flushed to disk and so should not
|
||||
# increase binlog_cache_disk_use
|
||||
begin;
|
||||
delete from t1;
|
||||
commit;
|
||||
|
||||
show status like "binlog_cache_use";
|
||||
show status like "binlog_cache_disk_use";
|
||||
|
||||
# The following DROP is a very important cleaning task:
|
||||
# imagine the next test is run with --skip-innodb: it will do
|
||||
@@ -71,3 +88,7 @@ show slave status;
|
||||
# InnoDB: Error: table t1 already exists in InnoDB internal
|
||||
# InnoDB: data dictionary. Have you deleted the .frm file etc
|
||||
drop table t1;
|
||||
# wait until this drop is executed on slave
|
||||
save_master_pos;
|
||||
connection slave;
|
||||
sync_with_master;
|
||||
|
||||
Reference in New Issue
Block a user