mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Follow-up to Bug #55582 which allows checking strings in if
Simplified cases where a select was used to compare variable against ''
This commit is contained in:
parent
e4f9ead140
commit
909f0bf94a
15 changed files with 26 additions and 26 deletions
|
|
@ -51,7 +51,7 @@ if (!$_slave_timeout_counter)
|
|||
}
|
||||
|
||||
let $_slave_param_comparison= $slave_param_comparison;
|
||||
if (`SELECT '$_slave_param_comparison' = ''`)
|
||||
if (!$_slave_param_comparison)
|
||||
{
|
||||
let $_slave_param_comparison= =;
|
||||
}
|
||||
|
|
@ -71,7 +71,7 @@ while (`SELECT NOT('$_show_slave_status_value' $_slave_param_comparison '$slave_
|
|||
if (!$_slave_timeout_counter)
|
||||
{
|
||||
--echo **** ERROR: timeout after $slave_timeout seconds while waiting for slave parameter $slave_param $_slave_param_comparison $slave_param_value ****
|
||||
if (`SELECT '$slave_error_message' != ''`)
|
||||
if ($slave_error_message)
|
||||
{
|
||||
--echo Message: $slave_error_message
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue