mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
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.
This commit is contained in:
parent
57d477c7cf
commit
3cb88652dd
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ int get_mysql_service_properties(const wchar_t *bin_path,
|
|||
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);
|
||||
normalize_path(props->inifile, MAX_PATH);
|
||||
|
||||
|
|
Loading…
Reference in a new issue