summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <tim@work.mysql.com>2000-11-15 08:38:28 +0100
committerunknown <tim@work.mysql.com>2000-11-15 08:38:28 +0100
commit0ca890bd19b5e71bf5540d852793479c32506571 (patch)
treefa7b3acd3e817059231309749b30751a3e57994f
parent1ba95db25fabf89d58454d3c6cb733eb67700bcc (diff)
downloadmariadb-git-0ca890bd19b5e71bf5540d852793479c32506571.tar.gz
thread_test.c make thread_test compile on non-threaded machines
client/thread_test.c: make thread_test compile on non-threaded machines
-rw-r--r--client/thread_test.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/client/thread_test.c b/client/thread_test.c
index def3381eb89..c76489ed946 100644
--- a/client/thread_test.c
+++ b/client/thread_test.c
@@ -16,10 +16,6 @@
MA 02111-1307, USA */
#include <global.h>
-#include <my_sys.h>
-#include <my_pthread.h>
-#include "mysql.h"
-#include <getopt.h>
#ifndef THREAD
@@ -30,6 +26,11 @@ int main(int argc, char **argv)
}
#else
+#include <my_sys.h>
+#include <my_pthread.h>
+#include "mysql.h"
+#include <getopt.h>
+
static my_bool version,verbose;
static uint thread_count,number_of_tests=1000,number_of_threads=2;
static pthread_cond_t COND_thread_count;