diff options
author | Georgi Kodinov <joro@sun.com> | 2009-09-17 14:25:07 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-09-17 14:25:07 +0300 |
commit | 31809edc24b2d6ee6b4a9932d5af0b2247ecf8dc (patch) | |
tree | 2b48e8a82b595b78d8335eba0ec59d75506edbc1 /sql/mysqld.cc | |
parent | e5888b16afcef42e8127a815cc5a95abc283c6d9 (diff) | |
download | mariadb-git-31809edc24b2d6ee6b4a9932d5af0b2247ecf8dc.tar.gz |
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.
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r-- | sql/mysqld.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index afbbf753813..ce1d562d0ca 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -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; |