1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fixes to get more information about random bind failure in pushbuild for windows hosts.

mysql-test/mysql-test-run.pl:
  Set port-open-timeout to 10 to retry binds
sql/mysqld.cc:
  Write error number for bind failure. (perror can't do that on windows as errno dosn't contain error code)
This commit is contained in:
Michael Widenius
2011-03-30 12:15:58 +03:00
parent 6902770869
commit 309e016eec
2 changed files with 6 additions and 2 deletions

View File

@@ -4913,6 +4913,8 @@ sub mysqld_arguments ($$$) {
}
mtr_add_arg($args, "%s--disable-sync-frm");
# Retry bind as this may fail on busy server
mtr_add_arg($args, "%s--port-open-timeout=10");
if (!using_extern() and $mysql_version_id >= 50106 && !$opt_user_args)
{