bk commit into 4.1 tree (jimw:1.2397) BUG#11280 -
08-26-2005
, 07:30 PM
Below is the list of changes that have just been committed into a local
4.1 repository of jimw. When jimw 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/in...urce-tree.html
ChangeSet
1.2397 05/08/26 17:30:22 jimw (AT) mysql (DOT) com +1 -0
Fix quoting of options passed to mysqld by mysqld_multi. (Bug #11280)
scripts/mysqld_multi.sh
1.22 05/08/26 17:30:19 jimw (AT) mysql (DOT) com +4 -2
Fix quoting of options passed to mysqld
# 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: jimw
# Host: rama.(none)
# Root: /home/jimw/my/mysql-4.1-11280
--- 1.21/scripts/mysqld_multi.sh 2004-10-11 12:38:57 -07:00
+++ 1.22/scripts/mysqld_multi.sh 2005-08-26 17:30:19 -07:00
@@ -289,8 +289,10 @@
}
else
{
- $options[$j]=~ s/;/\\;/g;
- $tmp.= " $options[$j]";
+ # we single-quote the argument, but first convert single-quotes to
+ # '"'"' so they are passed through correctly
+ $options[$j]=~ s/'/'"'"'/g;
+ $tmp.= " '$options[$j]'";
}
}
if ($opt_verbose && $com =~ m/\/safe_mysqld$/ && !$info_sent)
--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw |