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

This commit is contained in:
unknown 2006-10-04 23:07:49 +02:00
parent d7b6fdcd6c
commit 4e75b44749

View file

@ -2539,7 +2539,10 @@ EOF
;
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";
}