Issue #118: Removing auto-vertical-output for MySQL <5.5
This commit is contained in:
parent
bf17735e51
commit
ff5f5c4d28
1 changed files with 4 additions and 1 deletions
|
@ -387,7 +387,10 @@ sub mysql_setup {
|
||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
$mysqlcmd =~ s/\n$//g;
|
$mysqlcmd =~ s/\n$//g;
|
||||||
|
my $mysqlcliversion=`$mysqlcmd --version`;
|
||||||
|
if ( $mysqlcliversion =~ /5\.[567]/) {
|
||||||
$mysqlcmd .=" --auto-vertical-output=false";
|
$mysqlcmd .=" --auto-vertical-output=false";
|
||||||
|
}
|
||||||
debugprint "MySQL Client: $mysqlcmd";
|
debugprint "MySQL Client: $mysqlcmd";
|
||||||
|
|
||||||
# Are we being asked to connect via a socket?
|
# Are we being asked to connect via a socket?
|
||||||
|
|
Loading…
Reference in a new issue