1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

use the correct path separator on windows.

remove duplicates from the --plugin-load list.
$ENV{TERM} can be undefined (on Windows)
This commit is contained in:
Sergei Golubchik
2010-08-27 16:53:16 +02:00
parent 9bc9855c16
commit e86aeaeec0
2 changed files with 6 additions and 3 deletions

View File

@ -5840,7 +5840,7 @@ sub time_format($) {
my $num_tests;
sub xterm_stat {
if (-t STDOUT and $ENV{TERM} =~ /xterm/) {
if (-t STDOUT and defined $ENV{TERM} and $ENV{TERM} =~ /xterm/) {
my ($left) = @_;
# 2.5 -> best by test