1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03: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:
Bjorn Munch
2010-10-21 15:20:50 +02:00
parent 441e3b2412
commit bad7fa7c90
15 changed files with 26 additions and 26 deletions

View File

@@ -45,7 +45,7 @@ if (!$_status_timeout_counter)
}
let $_status_var_comparsion= $status_var_comparsion;
if (`SELECT '$_status_var_comparsion' = ''`)
if (!$_status_var_comparsion)
{
let $_status_var_comparsion= =;
}