summaryrefslogtreecommitdiff
path: root/client/mysqlslap.c
diff options
context:
space:
mode:
authorAntony@floppy. <>2007-03-22 00:43:14 -0700
committerAntony@floppy. <>2007-03-22 00:43:14 -0700
commitadfdcb191ca1a0d48db3c760ea186e0502664310 (patch)
treea483abdfae7bb71c7e9521103ae6fc24ee39cbe5 /client/mysqlslap.c
parent132608419ef5b495d59e6418f2305ceb24a1e9c6 (diff)
downloadmariadb-git-adfdcb191ca1a0d48db3c760ea186e0502664310.tar.gz
Fixes for 5.1-arch repository to compile on Windows.
Diffstat (limited to 'client/mysqlslap.c')
-rw-r--r--client/mysqlslap.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/client/mysqlslap.c b/client/mysqlslap.c
index 6fb810b6a23..809c1a6b5da 100644
--- a/client/mysqlslap.c
+++ b/client/mysqlslap.c
@@ -82,10 +82,6 @@ TODO:
#define SELECT_TYPE_REQUIRES_PREFIX 5
#include "client_priv.h"
-#include <my_pthread.h>
-#include <my_sys.h>
-#include <m_string.h>
-#include <mysql.h>
#include <mysqld_error.h>
#include <my_dir.h>
#include <signal.h>
@@ -1554,13 +1550,13 @@ run_scheduler(stats *sptr, statement *stmts, uint concur, ulonglong limit)
uint x;
struct timeval start_time, end_time;
thread_context con;
+ pthread_t mainthread; /* Thread descriptor */
+ pthread_attr_t attr; /* Thread attributes */
DBUG_ENTER("run_scheduler");
con.stmt= stmts;
con.limit= limit;
- pthread_t mainthread; /* Thread descriptor */
- pthread_attr_t attr; /* Thread attributes */
pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr,
PTHREAD_CREATE_DETACHED);