Commit d91dd287 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-9409 workaround

parent a43edf73
Windows bug: happens when a new line is exactly at the right offset. Windows bug: new line disappears when it is exactly at the right offset.
The following options may be given as the first argument: The following options may be given as the first argument:
--print-defaults Print the program argument list and exit. --print-defaults Print the program argument list and exit.
--no-defaults Don't read default options from any option file. --no-defaults Don't read default options from any option file.
......
...@@ -42,7 +42,7 @@ perl; ...@@ -42,7 +42,7 @@ perl;
$re2=join('|', @plugins); $re2=join('|', @plugins);
$skip=0; $skip=0;
open(F, '<', "$ENV{MYSQL_TMP_DIR}/mysqld--help.txt") or die; open(F, '<', "$ENV{MYSQL_TMP_DIR}/mysqld--help.txt") or die;
print "Windows bug: happens when a new line is exactly at the right offset.\n"; print "Windows bug: new line disappears when it is exactly at the right offset.\n";
while (<F>) { while (<F>) {
next if 1../The following groups are read/; next if 1../The following groups are read/;
# formatting, skip line consisting entirely of dashes and blanks # formatting, skip line consisting entirely of dashes and blanks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment