Commit 4e75b447 authored by unknown's avatar unknown

Use switch --old-log-format to mysqld started by im only in 5.1 and up

parent d7b6fdcd
...@@ -2539,7 +2539,10 @@ EOF ...@@ -2539,7 +2539,10 @@ EOF
; ;
print OUT "nonguarded\n" if $instance->{'nonguarded'}; print OUT "nonguarded\n" if $instance->{'nonguarded'};
print OUT "log-output=FILE\n" if $instance->{'old_log_format'}; if ( $mysql_version_id >= 50100 )
{
print OUT "log-output=FILE\n" if $instance->{'old_log_format'};
}
print OUT "\n"; print OUT "\n";
} }
......
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