1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-23 08:45:18 +03:00

Merge 10.3 into 10.4

This commit is contained in:
Marko Mäkelä
2021-05-18 08:59:12 +03:00
15 changed files with 426 additions and 53 deletions

View File

@ -139,7 +139,7 @@ sub do_args($$$$$) {
my $v = $debuggers{$k};
# on windows mtr args are quoted (for system), otherwise not (for exec)
sub quote($) { $_[0] =~ / / ? "\"$_[0]\"" : $_[0] }
sub quote($) { $_[0] =~ /[; ]/ ? "\"$_[0]\"" : $_[0] }
sub unquote($) { $_[0] =~ s/^"(.*)"$/$1/; $_[0] }
sub quote_from_mtr($) { IS_WINDOWS() ? $_[0] : quote($_[0]) }
sub unquote_for_mtr($) { IS_WINDOWS() ? $_[0] : unquote($_[0]) }