1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Tests: many if/while expresissons simplified after 57276

This commit is contained in:
Bjorn Munch
2010-11-17 11:16:13 +01:00
parent 49ce7daa94
commit ef4458af07
53 changed files with 211 additions and 182 deletions

View File

@@ -50,7 +50,7 @@ eval SHOW BINLOG EVENTS IN '$binlog_name';
let $_master_con= $master_connection;
if (!$_master_con)
{
if (`SELECT '$_con' = 'slave'`)
if ($_con == slave)
{
let $_master_con= master;
}
@@ -80,7 +80,7 @@ if ($_master_con)
--echo
--echo **** SHOW BINLOG EVENTS on $_master_con ****
eval SHOW BINLOG EVENTS IN '$master_binlog_name_sql';
if (`SELECT '$master_binlog_name_io' != '$master_binlog_name_sql'`)
if ($master_binlog_name_io != $master_binlog_name_sql)
{
eval SHOW BINLOG EVENTS IN '$master_binlog_name_io';
}