Commit 3cb88652 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MWL#55: correct mysqld.exe file path, to extract version from it.

Take into account that services registered by  MySQL do not have
 .exe extension  in service binary path.
parent 57d477c7
...@@ -105,7 +105,7 @@ int get_mysql_service_properties(const wchar_t *bin_path, ...@@ -105,7 +105,7 @@ int get_mysql_service_properties(const wchar_t *bin_path,
goto end; goto end;
} }
wcstombs(props->mysqld_exe, args[0], MAX_PATH); wcstombs(props->mysqld_exe, mysqld_path, MAX_PATH);
wcstombs(props->inifile, args[1]+16, MAX_PATH); wcstombs(props->inifile, args[1]+16, MAX_PATH);
normalize_path(props->inifile, MAX_PATH); normalize_path(props->inifile, MAX_PATH);
......
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