1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Cleanup of checking of user resources

Added missing checking of no_keyread
This commit is contained in:
monty@mashka.mysql.fi
2002-06-16 17:06:12 +03:00
parent 33a377c716
commit fc52abc50f
8 changed files with 35 additions and 37 deletions

View File

@@ -426,9 +426,12 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
{
int error=pthread_cond_timedwait(cond, mutex, abstime);
if (error == -1) /* Safety if the lib is fixed */
error=errno;
{
if (!(error=errno))
error= ETIMEDOUT; /* Can happen on HPUX */
}
if (error == EAGAIN) /* Correct errno to Posix */
error=ETIMEDOUT;
error= ETIMEDOUT;
return error;
}
#endif