mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Add some examples for using libmysqld, including a hack for running the
mysql test suite. A few minor libmysqld fixes. Add mysql_server_init() and _end() to mysql.cc and mysqltest.c, so they can be linked against libmysqlclient or libmysqld.
This commit is contained in:
@ -684,7 +684,9 @@ static sig_handler print_signal_warning(int sig)
|
||||
void unireg_end(int signal_number __attribute__((unused)))
|
||||
{
|
||||
clean_up();
|
||||
#ifndef OS2
|
||||
#if defined(EMBEDDED_LIBRARY)
|
||||
exit(0); // XXX QQ: this is a temporary hack (I hope)
|
||||
#elif !defined(OS2)
|
||||
pthread_exit(0); // Exit is in main thread
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user