summaryrefslogtreecommitdiff
path: root/mysql-test/suite
diff options
context:
space:
mode:
authorAnnamalai Gurusami <annamalai.gurusami@oracle.com>2012-05-04 12:29:49 +0530
committerAnnamalai Gurusami <annamalai.gurusami@oracle.com>2012-05-04 12:29:49 +0530
commitb757c13078ec88bb734c8697a9e3ecd870934f8a (patch)
treeeea5090d287606e6768e49dda0a64a3c5756607e /mysql-test/suite
parent95205bbaffed8adb80185af5fa24aef697b6c9d4 (diff)
downloadmariadb-git-b757c13078ec88bb734c8697a9e3ecd870934f8a.tar.gz
In perl, to break out of a foreach loop we need to use
the keyword "last" and not "break". Fixing the failing test case.
Diffstat (limited to 'mysql-test/suite')
-rw-r--r--mysql-test/suite/innodb/t/innodb_bug12902967.test2
1 files changed, 1 insertions, 1 deletions
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;
}
}
}