From: Date: December 22 2006 2:18am Subject: bk commit into 4.1 tree (tsmith:1.2595) List-Archive: http://lists.mysql.com/commits/17296 Message-Id: <20061222011832.62A9B5CD7@siva.hindu.god> Below is the list of changes that have just been committed into a local 4.1 repository of tim. When tim does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet@stripped, 2006-12-21 18:18:27-07:00, tsmith@stripped +1 -0 Merge siva.hindu.god:/usr/home/tim/m/bk/g41 into siva.hindu.god:/usr/home/tim/m/bk/41 MERGE: 1.2581.2.3 scripts/mysqld_multi.sh@stripped, 2006-12-21 18:18:24-07:00, tsmith@stripped +0 -0 Auto merged MERGE: 1.23.1.1 # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: tsmith # Host: siva.hindu.god # Root: /usr/home/tim/m/bk/41/RESYNC --- 1.24/scripts/mysqld_multi.sh 2006-12-21 18:18:32 -07:00 +++ 1.25/scripts/mysqld_multi.sh 2006-12-21 18:18:32 -07:00 @@ -437,6 +437,14 @@ sub find_groups { $data[$i] = $line; } + if (-f "/etc/mysql/my.cnf" && -r "/etc/mysql/my.cnf") + { + open(MY_CNF, ") && close(MY_CNF); + } + for (; ($line = shift @tmp); $i++) + { + $data[$i] = $line; + } if (-f "$homedir/.my.cnf" && -r "$homedir/.my.cnf") { open(MY_CNF, "<$homedir/.my.cnf") && (@tmp=) && close(MY_CNF); @@ -446,7 +454,7 @@ sub find_groups $data[$i] = $line; } } - chop @data; + chomp @data; # Make a list of the wanted group ids if (defined($raw_gids)) {