1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Changes from Novell for NetWare platform

include/my_pthread.h:
  Consolidated NetWare pthread_exit() changes.
mysys/mf_path.c:
  NetWare needs a semicolon path delimiter.
mysys/my_pthread.c:
  Consolidated NetWare pthread_exit() changes.
sql/mini_client.cc:
  Modified to match my_connect().
sql/mysqld.cc:
  Consolidated NetWare pthread_exit() changes.
sql/slave.cc:
  Consolidated NetWare pthread_exit() changes.
sql/sql_load.cc:
  Stat properites should not be checked here on NetWare.
This commit is contained in:
unknown
2003-04-24 20:48:54 -04:00
parent 1a01f0ff08
commit ae5e364c19
7 changed files with 36 additions and 11 deletions

View File

@ -797,9 +797,9 @@ static void __cdecl kill_server(int sig_ptr)
#ifdef __NETWARE__
pthread_join(select_thread, NULL); // wait for main thread
#else
pthread_exit(0); /* purecov: deadcode */
#endif /* __NETWARE__ */
pthread_exit(0); /* purecov: deadcode */
RETURN_FROM_KILL_SERVER;
}
@ -856,13 +856,11 @@ void unireg_end(void)
{
clean_up(1);
my_thread_end();
#ifndef __NETWARE__
#ifdef SIGNALS_DONT_BREAK_READ
#if defined(SIGNALS_DONT_BREAK_READ) && !defined(__NETWARE__)
exit(0);
#else
pthread_exit(0); // Exit is in main thread
#endif
#endif /* __NETWARE__ */
}