fixed compilation failure on hpux
the problem is that client tools are compiled with UNDEF_THREADS_HACK flag, and my thread-related additions to the mysqltest.c can't be compiled. Easy solution is to disable these in not-embedded case completely. client/mysqltest.c: it's used in embedded server only
This commit is contained in:
parent
a3d041559d
commit
af6185240a
@ -223,11 +223,13 @@ struct st_connection
|
|||||||
char *name;
|
char *name;
|
||||||
MYSQL_STMT* stmt;
|
MYSQL_STMT* stmt;
|
||||||
|
|
||||||
|
#ifdef EMBEDDED_LIBRARY
|
||||||
const char *cur_query;
|
const char *cur_query;
|
||||||
int cur_query_len;
|
int cur_query_len;
|
||||||
pthread_mutex_t mutex;
|
pthread_mutex_t mutex;
|
||||||
pthread_cond_t cond;
|
pthread_cond_t cond;
|
||||||
int query_done;
|
int query_done;
|
||||||
|
#endif /*EMBEDDED_LIBRARY*/
|
||||||
};
|
};
|
||||||
struct st_connection connections[128];
|
struct st_connection connections[128];
|
||||||
struct st_connection* cur_con, *next_con, *connections_end;
|
struct st_connection* cur_con, *next_con, *connections_end;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user