summaryrefslogtreecommitdiff
path: root/mysql-test/main/mysqltest_256.test
blob: fd9447cd2d85da1f291e85331c2c7bf2d7caf649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# MDEV-256 lp:995501 - mysqltest attempts to parse Perl code inside a block
# with false condition, gets confused and throws wrong errors
#

let $run = 0;
if ($run)
{
  --perl
  foreach (1)
  {
    print "In perl\n";
  }
  EOF
  SELECT 1;
}
--echo # Done