mirror of
https://github.com/MariaDB/server.git
synced 2025-10-24 07:13:33 +03:00
Tests: many if/while expresissons simplified after 57276
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
# if server has not used CHANGE MASTER to initiate slave, SHOW SLAVE
|
||||
# STATUS will return an empty set.
|
||||
let $_slave_io_running= query_get_value("SHOW SLAVE STATUS", Slave_IO_Running, 1);
|
||||
if (`SELECT '$_slave_io_running' != 'No such row'`)
|
||||
if ($_slave_io_running != No such row)
|
||||
{
|
||||
let $slave_param= Slave_SQL_Running;
|
||||
let $slave_param_value= No;
|
||||
|
||||
Reference in New Issue
Block a user