mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Remove configuration preprocessor symbols 'THREAD'
and 'THREAD_SAFE_CLIENT'. As of MySQL 5.5, we no longer support non-threaded builds. This patch removes all references to the obsolete THREAD and THREAD_SAFE_CLIENT preprocessor symbols. These were used to distinguish between threaded and non-threaded builds.
This commit is contained in:
parent
5511a9d7ba
commit
8ede0759c3
67 changed files with 94 additions and 816 deletions
|
|
@ -15,15 +15,6 @@
|
|||
|
||||
#include <my_global.h>
|
||||
|
||||
#ifndef THREAD
|
||||
|
||||
int main(int argc __attribute__((unused)), char **argv __attribute__((unused)))
|
||||
{
|
||||
printf("This test must be compiled with multithread support to work\n");
|
||||
exit(1);
|
||||
}
|
||||
#else
|
||||
|
||||
#include <my_sys.h>
|
||||
#include <my_pthread.h>
|
||||
#include "mysql.h"
|
||||
|
|
@ -254,4 +245,3 @@ int main(int argc, char **argv)
|
|||
return 0; /* Keep some compilers happy */
|
||||
}
|
||||
|
||||
#endif /* THREAD */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue