Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37791050
en ru br
Репозитории ALT
S:1.13.0-alt1
5.1: 1.8.0-alt0.M51.1
www.altlinux.org/Changes

Группа :: Базы Данных
Пакет: innotop

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: innotop-1.11.1-alt-fix_host_regex.patch
Скачать


Fix Host regex to show full IPs in Host column in InnoDB Txns view
See https://github.com/innotop/innotop/pull/145
--- innotop
+++ innotop
@@ -1570,7 +1570,7 @@ if ( defined($opts{p}) && length($opts{p}) == 0 ) {
 # Convenience so I can copy/paste these in several places...
 # ###########################################################################
 my %exprs = (
-   Host              => q{my $host = host || hostname || ''; ($host) = $host =~ m/^((?:[\d.]+(?=:))|(?:[a-z0-9-]+))/i; return $host || ''},
+   Host              => q{my $host = host || hostname || ''; ($host) = $host =~ m/^((?:[\d.]+(?=:|$))|(?:[a-z0-9-]+))/i; return $host || ''},
    Port              => q{my ($p) = host =~ m/:(.*)$/; return $p || 0},
    OldVersions       => q{dulint_to_int(IB_tx_trx_id_counter) - dulint_to_int(IB_tx_purge_done_for)},
    MaxTxnTime        => q/max(map{ $_->{active_secs} } @{ IB_tx_transactions }) || 0/,
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin