diff options
author | unknown <holyfoot/hf@mysql.com/deer.(none)> | 2006-11-29 09:23:54 +0400 |
---|---|---|
committer | unknown <holyfoot/hf@mysql.com/deer.(none)> | 2006-11-29 09:23:54 +0400 |
commit | af6185240ad6120cc6b74b331fce571353552621 (patch) | |
tree | d1f13ee768fb077672f443b4478414d681679bf7 /client | |
parent | a3d041559d2a466da9e0115c0f8f1044de98db70 (diff) | |
download | mariadb-git-af6185240ad6120cc6b74b331fce571353552621.tar.gz |
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
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index b73ee831cf3..9fe427000d4 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -223,11 +223,13 @@ struct st_connection char *name; MYSQL_STMT* stmt; +#ifdef EMBEDDED_LIBRARY const char *cur_query; int cur_query_len; pthread_mutex_t mutex; pthread_cond_t cond; int query_done; +#endif /*EMBEDDED_LIBRARY*/ }; struct st_connection connections[128]; struct st_connection* cur_con, *next_con, *connections_end; |