Trying to fix a timeout issue

pull/631/head
René Cannaò 10 years ago
parent 7caed18e28
commit 704a978f28

@ -85,7 +85,7 @@ static int wait_for_mysql(MYSQL *mysql, int status) {
timeout = 10;
res = poll(&pfd, 1, timeout);
if (res == 0)
return MYSQL_WAIT_TIMEOUT;
return MYSQL_WAIT_TIMEOUT | status;
else if (res < 0)
return MYSQL_WAIT_TIMEOUT;
else {

Loading…
Cancel
Save