List:Commits« Previous MessageNext Message »
From:Georgi Kodinov Date:September 17 2009 11:25am
Subject:bzr commit into mysql-5.0-bugteam branch (joro:2812) Bug#46917
View as plain text  
#At file:///home/kgeorge/mysql/work/B46917-5.0-bugteam/ based on revid:sergey.glukhov@stripped

 2812 Georgi Kodinov	2009-09-17
      Bug #46917: mysqd-nt installs wrong
      
      When parsing the service installation parameter in 
      default_service_handling() make sure the value of the
      optional parameter doesn't overwrite it's name.

    modified:
      sql/mysqld.cc
=== modified file 'sql/mysqld.cc'
--- a/sql/mysqld.cc	2009-08-06 14:24:28 +0000
+++ b/sql/mysqld.cc	2009-09-17 11:25:07 +0000
@@ -4022,7 +4022,7 @@ default_service_handling(char **argv,
     if (opt_delim= strchr(extra_opt, '='))
     {
       size_t length= ++opt_delim - extra_opt;
-      strnmov(pos, extra_opt, length);
+      pos= strnmov(pos, extra_opt, length);
     }
     else
       opt_delim= extra_opt;


Attachment: [text/bzr-bundle] bzr/joro@sun.com-20090917112507-ugixxwutn2b3n2k2.bundle
Thread
bzr commit into mysql-5.0-bugteam branch (joro:2812) Bug#46917Georgi Kodinov17 Sep