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

Follow-up to Bug #55582 which allows chaecking strings in if

Simplified cases where a select was used to compare variable against ''
This commit is contained in:
Bjorn Munch
2010-10-20 16:15:32 +02:00
parent 05062d579a
commit 0455ff8faf
15 changed files with 26 additions and 26 deletions

View File

@ -56,7 +56,7 @@ if (`SELECT "$_sql_running" = "Yes" OR "$_io_running" = "Yes"`) {
# Read server variables.
let $MYSQLD_DATADIR= `SELECT @@datadir`;
let $_fake_filename= query_get_value(SHOW VARIABLES LIKE 'relay_log', Value, 1);
if (`SELECT '$_fake_filename' = ''`) {
if (!$_fake_filename) {
--echo Badly written test case: relay_log variable is empty. Please use the
--echo server option --relay-log=FILE.
}