mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
mtr: fix --source lines detection
mysqltest allows leading spaces before `--`, so mtr should too
This commit is contained in:
@ -1036,7 +1036,7 @@ sub get_tags_from_file($$) {
|
||||
}
|
||||
|
||||
# Check for a sourced include file.
|
||||
if ($line =~ /^(--)?[[:space:]]*source[[:space:]]+([^;[:space:]]+)/)
|
||||
if ($line =~ /^[[:space:]]*(--)?[[:space:]]*source[[:space:]]+([^;[:space:]]+)/)
|
||||
{
|
||||
my $include= $2;
|
||||
# The rules below must match open_file() function of mysqltest.cc
|
||||
|
Reference in New Issue
Block a user