Skip to content

Commit

Permalink
Don't beep in mysql_upgrade_service.exe
Browse files Browse the repository at this point in the history
This beep looks especially strange, as mysqladmin output is redirected to
the log file
  • Loading branch information
vaintroub committed Dec 7, 2021
1 parent 8dd1f01 commit f13c210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/mysql_upgrade_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ int main(int argc, char **argv)
if (WaitForSingleObject(mysqld_process, 0) != WAIT_TIMEOUT)
die("mysqld.exe did not start");

if (run_tool(P_WAIT, mysqladmin_path, "--protocol=pipe",
socket_param, "ping", NULL) == 0)
if (run_tool(P_WAIT, mysqladmin_path, "--protocol=pipe", socket_param,
"ping", "--no-beep", NULL) == 0)
{
break;
}
Expand Down

0 comments on commit f13c210

Please sign in to comment.