From b757c13078ec88bb734c8697a9e3ecd870934f8a Mon Sep 17 00:00:00 2001 From: Annamalai Gurusami Date: Fri, 4 May 2012 12:29:49 +0530 Subject: [PATCH] In perl, to break out of a foreach loop we need to use the keyword "last" and not "break". Fixing the failing test case. --- mysql-test/suite/innodb/t/innodb_bug12902967.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/suite/innodb/t/innodb_bug12902967.test b/mysql-test/suite/innodb/t/innodb_bug12902967.test index 7bc5727a7a6..e9d832f3c19 100644 --- a/mysql-test/suite/innodb/t/innodb_bug12902967.test +++ b/mysql-test/suite/innodb/t/innodb_bug12902967.test @@ -33,7 +33,7 @@ foreach $line (reverse @lines) { ++$count; print "$line"; if ($count == 2) { - break; + last; } } }