pt-config-diff Use of uninitialized value in substitution (s///) at line 1996
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Brian Fraser |
Bug Description
$ pt-config-diff --version
pt-config-diff 2.0.1
Below is my.cnf file on this server:
[mysqld]
server-id = 98765
pid-file = /var/lib/
socket = /var/lib/
port = 3306
datadir = /var/lib/mysql/
innodb_
log-error = mysqld.err
log-slow-queries = slave-slow.log
# Replication
log_bin = mysql-bin
relay-log = relay-bin
expire-logs-days = 14
log-slave-updates
skip-slave-start
old_passwords=1
tmpdir = /dev/shm
# InnoDB
innodb_
innodb_
read-only
max_allowed_
table_cache = 4096
default-
max-connections = 200
ft_min_word_len = 3
net_read_timeout = 7200
net_write_timeout = 7200
key_buffer_size = 4086M
query_cache_size = 0
query_cache_type = 0
thread_cache_size = 4
group_
long-query-time = 2000000
skip-name-resolve
innodb_
innodb_
innodb_
innodb_
innodb_open_files = 256
[mysql.server]
user=mysql
#basedir=/var/lib
[mysqld_safe]
log-error = mysqld.err
pid-file=
Related branches
- Brian Fraser (community): Approve
- Daniel Nichter: Approve
-
Diff: 521 lines (+240/-152)4 files modifiedbin/pt-config-diff (+78/-66)
lib/MySQLConfig.pm (+105/-85)
t/lib/MySQLConfig.t (+26/-1)
t/pt-config-diff/samples/bug_917770.cnf (+31/-0)
Changed in percona-toolkit: | |
importance: | High → Undecided |
Changed in percona-toolkit: | |
milestone: | none → 2.1.4 |
importance: | Undecided → Medium |
Changed in percona-toolkit: | |
assignee: | nobody → Daniel Nichter (daniel-nichter) |
Changed in percona-toolkit: | |
status: | Confirmed → In Progress |
Changed in percona-toolkit: | |
status: | In Progress → Invalid |
milestone: | 2.1.4 → none |
Changed in percona-toolkit: | |
assignee: | nobody → Brian Fraser (fraserbn) |
Changed in percona-toolkit: | |
status: | Triaged → In Progress |
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
summary: |
- Use of uninitialized value in substitution (s///) at pt-config-diff line - 1996 + pt-config-diff error: Use of uninitialized value in substitution (s///) + at line 1996 |
summary: |
- pt-config-diff error: Use of uninitialized value in substitution (s///) - at line 1996 + pt-config-diff Use of uninitialized value in substitution (s///) at line + 1996 |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
Same issue for me:
"Use of uninitialized value $var in substitution (s///) at /usr/bin/ pt-config- diff line 2149."
System details: VirtualBox 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ uname -a
Linux sebastien-
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
$ dpkg -l |grep percona-toolkit
ii percona-toolkit 2.1.2 Advanced MySQL and system command-line tools
$ pt-config-diff --version
pt-config-diff 2.1.2