mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -27,14 +27,14 @@ if (!$binlog_start)
|
||||
}
|
||||
|
||||
--let $_statement=show binlog events
|
||||
if (`SELECT '$binlog_file' <> ''`)
|
||||
if ($binlog_file)
|
||||
{
|
||||
--let $_statement= $_statement in '$binlog_file'
|
||||
}
|
||||
|
||||
--let $_statement= $_statement from $binlog_start
|
||||
|
||||
if (`SELECT '$binlog_limit' <> ''`)
|
||||
if ($binlog_limit)
|
||||
{
|
||||
--let $_statement= $_statement limit $binlog_limit
|
||||
}
|
||||
|
Reference in New Issue
Block a user