summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authortim@work.mysql.com <>2000-11-19 22:27:46 +0100
committertim@work.mysql.com <>2000-11-19 22:27:46 +0100
commit6b4967e3e52ab70f4695550ac5ce57852ffdaf8f (patch)
tree63979f3b3140516eb9b57d7b1738194c88c4cdc9 /client
parent5f5e3c2d180388dab1dba1b8e4ba9585ac59f8c4 (diff)
parentc89eee103ff866c1487db0e98d121f1f8f59f633 (diff)
downloadmariadb-git-6b4967e3e52ab70f4695550ac5ce57852ffdaf8f.tar.gz
Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/d1/users/tim/src/mysql
Diffstat (limited to 'client')
-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;