hugowan / maatkit

Automatically exported from code.google.com/p/maatkit
0 stars 0 forks source link

mk-audit out-of-sync vars does not eq /path with /path/ #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On my machine, I see

Out of sync system variables (online value differs from config value):
VARIABLE              ONLINE VALUE              CONFIG VALUE
... snip ...
language              /usr/share/mysql/english  /usr/share/mysql/english

baron@kanga:~/etc/maatkit/trunk$ mysqladmin variables | grep english
| language                        | /usr/share/mysql/english/   |
baron@kanga:~/etc/maatkit/trunk$ grep english /etc/mysql/my.cnf 
language    = /usr/share/mysql/english

Original issue reported on code.google.com by baron.schwartz on 17 Oct 2008 at 8:41

GoogleCodeExporter commented 9 years ago
The online value is being truncated in the display, that's why it looks like a 
false
positive. The difference is the trailing / which has been in my mind to handle 
as a
special case. There are other values which are the same, technically, but 
differ only
by a trailing /.

Speaking of output truncation: do you think it'd be useful to detect the length 
of
each value and if it's going to be truncated do something like
"/usr/share/mysql/engl..."
to show that it was truncated?

Original comment by dan...@percona.com on 18 Oct 2008 at 4:19

GoogleCodeExporter commented 9 years ago
Target these for release end of January 2009.

Original comment by baron.schwartz on 4 Jan 2009 at 5:04

GoogleCodeExporter commented 9 years ago
Working on this.

Original comment by dan...@percona.com on 4 Jan 2009 at 5:22

GoogleCodeExporter commented 9 years ago

Original comment by dan...@percona.com on 4 Jan 2009 at 5:43

GoogleCodeExporter commented 9 years ago
One Google Code oddity I've noticed: it does not record the history of Summary
changes.  So when you change the Summary, please make a comment like "Summary 
was:
foo foo foo...."

Original comment by baron.schwartz on 4 Jan 2009 at 5:48

GoogleCodeExporter commented 9 years ago
Fixed along with basedir and log-bin in r2766.

Original comment by dan...@percona.com on 4 Jan 2009 at 6:31