Skip to content

Commit

Permalink
Look also for mariadbd.exe when looking for mariadb service.
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed May 18, 2020
1 parent 8cb3060 commit e7b139c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sql/winservice.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ int get_mysql_service_properties(const wchar_t *bin_path,

if(wcsicmp(file_part, L"mysqld.exe") != 0 &&
wcsicmp(file_part, L"mysqld-debug.exe") != 0 &&
wcsicmp(file_part, L"mysqld-nt.exe") != 0)
wcsicmp(file_part, L"mysqld-nt.exe") != 0 &&
wcsicmp(file_part, L"mariadbd.exe") != 0)
{
/* The service executable is not mysqld. */
goto end;
Expand Down

0 comments on commit e7b139c

Please sign in to comment.