Package: mytop
Version: 1.6-5
Severity: minor

With a heavily loaded mysql server that has been running for a long
time, the id's can easily be larger than 10^8 (on the server I'm looking
at right now, new id's are around 1.5*10^8, and that has only been
running for 69 days).

But mytop is hardcoded (line 908) to a column width of 8 chars for the
id. But as printf prints the whole id (and that's how it should be),
the width calculation for the "Query or State" column is wrong,
which causes one char too much to be printed which makes the line wrap,
that looks quite bad, and with many queries it can cause the headers and
topmost queries to scroll off the screen.

(The problem is seen on a server having mytop 1.4-1 - the version in
etch - from which I can't run reportbug, but I apt-get'ed the source
for 1.6-5 on this machine and checked the code)

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'testing'), (500, 'oldstable'), (20, 
'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=da_DK.ISO-8859-15, LC_CTYPE=da_DK.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to