1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Make sure tests drops objects created and restore variables to default

This commit is contained in:
msvensson@pilot.blaudden
2007-03-01 14:16:38 +01:00
parent a49d6c5f51
commit 6b4a71659e
37 changed files with 69 additions and 10 deletions

View File

@ -8,6 +8,10 @@ create database mysqltest1;
--enable_warnings
use mysqltest1;
# Save binlog format
set @my_binlog_format= @@global.binlog_format;
# Set binlog format to row
set session binlog_format=row;
set global binlog_format=row;
@ -542,3 +546,7 @@ diff_files $MYSQLTEST_VARDIR/tmp/rpl_switch_stm_row_mixed_master.sql $MYSQLTEST_
drop database mysqltest1;
sync_slave_with_master;
connection master;
# Restore binlog format setting
set global binlog_format =@my_binlog_format;