diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2010-10-25 14:07:28 +0200 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2010-10-25 14:07:28 +0200 |
commit | 56354413f86be103ce6c30aed879562894fb28e6 (patch) | |
tree | 63f8b50666fa27797c5cf7279b8b06ca689e2afd /mysql-test/include/show_events.inc | |
parent | 512e00fec38854bd89f09abc25432b1ceb820a1d (diff) | |
download | mariadb-git-56354413f86be103ce6c30aed879562894fb28e6.tar.gz |
Revert simplified if() in mysql-test/include/show_events.inc
Diffstat (limited to 'mysql-test/include/show_events.inc')
-rw-r--r-- | mysql-test/include/show_events.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/include/show_events.inc b/mysql-test/include/show_events.inc index df17534eb82..ff5a7105c24 100644 --- a/mysql-test/include/show_events.inc +++ b/mysql-test/include/show_events.inc @@ -25,7 +25,9 @@ if ($binlog_file) --let $_statement= $_statement from $binlog_start -if ($binlog_limit) +# Cannot use if($binlog_limit) since the variable may begin with a 0 + +if (`SELECT '$binlog_limit' <> ''`) { --let $_statement= $_statement limit $binlog_limit } |