Skip to content

Commit f13c210

Browse files
committed
Don't beep in mysql_upgrade_service.exe
This beep looks especially strange, as mysqladmin output is redirected to the log file
1 parent 8dd1f01 commit f13c210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/mysql_upgrade_service.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,8 @@ int main(int argc, char **argv)
464464
if (WaitForSingleObject(mysqld_process, 0) != WAIT_TIMEOUT)
465465
die("mysqld.exe did not start");
466466

467-
if (run_tool(P_WAIT, mysqladmin_path, "--protocol=pipe",
468-
socket_param, "ping", NULL) == 0)
467+
if (run_tool(P_WAIT, mysqladmin_path, "--protocol=pipe", socket_param,
468+
"ping", "--no-beep", NULL) == 0)
469469
{
470470
break;
471471
}

0 commit comments

Comments
 (0)