Commit c89eee10 authored by tim@work.mysql.com's avatar tim@work.mysql.com

thread_test.c make thread_test compile on non-threaded machines

parent c270064c
...@@ -16,10 +16,6 @@ ...@@ -16,10 +16,6 @@
MA 02111-1307, USA */ MA 02111-1307, USA */
#include <global.h> #include <global.h>
#include <my_sys.h>
#include <my_pthread.h>
#include "mysql.h"
#include <getopt.h>
#ifndef THREAD #ifndef THREAD
...@@ -30,6 +26,11 @@ int main(int argc, char **argv) ...@@ -30,6 +26,11 @@ int main(int argc, char **argv)
} }
#else #else
#include <my_sys.h>
#include <my_pthread.h>
#include "mysql.h"
#include <getopt.h>
static my_bool version,verbose; static my_bool version,verbose;
static uint thread_count,number_of_tests=1000,number_of_threads=2; static uint thread_count,number_of_tests=1000,number_of_threads=2;
static pthread_cond_t COND_thread_count; static pthread_cond_t COND_thread_count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment