Commit e9854f58 authored by Atanu Ghosh's avatar Atanu Ghosh

Bug #17049656 : MYSQLD --LOCAL-SERVICE PARAMETER DOES NOT WORK

Problem: The "--local-install" service does not perform as expected for, at least,
         Windows.

Fix: A NULL pointer was dereferenced due to which there was crash.A check was introduced
     for NULL string before dereferencing it.No test cases written as it is a bug during 
     installation.
parent e0efc2c3
...@@ -4786,7 +4786,7 @@ default_service_handling(char **argv, ...@@ -4786,7 +4786,7 @@ default_service_handling(char **argv,
/* We have to quote filename if it contains spaces */ /* We have to quote filename if it contains spaces */
pos= add_quoted_string(path_and_service, file_path, end); pos= add_quoted_string(path_and_service, file_path, end);
if (*extra_opt) if (extra_opt && *extra_opt)
{ {
/* /*
Add option after file_path. There will be zero or one extra option. It's Add option after file_path. There will be zero or one extra option. It's
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment