From: Bjorn Munch Date: April 4 2011 8:20am Subject: Re: bzr commit into mysql-next-mr-wl5569 branch (andrei.elkin:3273) WL#5569 List-Archive: http://lists.mysql.com/commits/134592 Message-Id: <20110404082050.GA22771@khepri15.norway.sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On 03/04 10.07, Andrei Elkin wrote: > - > -let $i = $databases + 1; I see you've removed this line, but this wouldn't have worked anyway. mysqltest does not do aritchmetics, so this would just have become a string ending in in " + 1". This could have been used: let $i= $databases; inc $i; > -while($i) In 5.5+ you can now use simple comparisions in if or while conditions. Left hand side must be a variable, but you can now say e.g.: while ($i <= $databases) { .... } - Bjorn