summaryrefslogtreecommitdiff
path: root/mysql-test/lib/My/Config.pm
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/lib/My/Config.pm')
-rw-r--r--mysql-test/lib/My/Config.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/lib/My/Config.pm b/mysql-test/lib/My/Config.pm
index f8416e3df3a..315e415e219 100644
--- a/mysql-test/lib/My/Config.pm
+++ b/mysql-test/lib/My/Config.pm
@@ -188,6 +188,8 @@ sub new {
while ( my $line= <$F> ) {
chomp($line);
+ # Remove any trailing CR from Windows edited files
+ $line=~ s/\cM$//;
# [group]
if ( $line =~ /^\[(.*)\]/ ) {