List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:October 25 2010 12:10pm
Subject:bzr push into mysql-5.5-mtr branch (bjorn.munch:3105 to 3106)
View as plain text  
 3106 Bjorn Munch	2010-10-25
      Revert simplified if() in mysql-test/include/show_events.inc

    modified:
      mysql-test/include/show_events.inc
 3105 Bjorn Munch	2010-10-21 [merge]
      sorry null upmerge

=== 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: useless for push emails).
Thread
bzr push into mysql-5.5-mtr branch (bjorn.munch:3105 to 3106) Bjorn Munch25 Oct