#At file:///home/bm136801/my/mtr-55/ based on revid:bjorn.munch@stripped
3106 Bjorn Munch 2010-10-25
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
}
Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20101025120728-q7nh3dqh4mxddc52.bundle
| Thread |
|---|
| • bzr commit into mysql-5.5-mtr branch (bjorn.munch:3106) | Bjorn Munch | 25 Oct |