From: Bjorn Munch Date: October 25 2010 12:09pm Subject: bzr commit into mysql-trunk-mtr branch (bjorn.munch:2980) List-Archive: http://lists.mysql.com/commits/121797 Message-Id: <201010251209.o9PC9BGa024277@khepri15.norway.sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///home/bm136801/my/mtr-tr/ based on revid:bjorn.munch@stripped 2980 Bjorn Munch 2010-10-25 [merge] Revert simplified if() in mysql-test/include/show_events.inc modified: mysql-test/include/show_events.inc === modified file 'mysql-test/include/show_events.inc' --- a/mysql-test/include/show_events.inc 2010-10-21 07:37:10 +0000 +++ b/mysql-test/include/show_events.inc 2010-10-25 12:07:28 +0000 @@ -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 } No bundle (reason: revision is a merge).