mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug #48671 mysqltest fails on 'perl' in file sourced inside 'while'
Actually, fails on 'perl' in any while Fixed essentially the same way as for append_file
This commit is contained in:
@ -1905,6 +1905,20 @@ perl;
|
||||
print "hello\n";
|
||||
EOF
|
||||
|
||||
# Test perl within while, also with if being false first iteration
|
||||
let $outer= 3;
|
||||
let $ifval= 0;
|
||||
while ($outer) {
|
||||
if ($ifval) {
|
||||
perl UNTIL;
|
||||
my $val= 5;
|
||||
print "val is $val\n";
|
||||
UNTIL
|
||||
}
|
||||
inc $ifval;
|
||||
dec $outer;
|
||||
}
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# test for die
|
||||
# ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user