diff options
author | Marc Alff <marc.alff@oracle.com> | 2010-03-09 11:03:02 -0700 |
---|---|---|
committer | Marc Alff <marc.alff@oracle.com> | 2010-03-09 11:03:02 -0700 |
commit | f6660539c24eabf7f784d1bdfedf8d01023c73c8 (patch) | |
tree | a132647272f2039e25b26df61dafedb30ce539cd /plugin/semisync | |
parent | 58559ac827663a2b27bde116dc07610412330f06 (diff) | |
download | mariadb-git-f6660539c24eabf7f784d1bdfedf8d01023c73c8.tar.gz |
Bug#51878 Build break in HPUX involving mysql_prlock on a client
This is a fix specific for HPUX,
for which the compiler does not resolve properly dependencies
involving unused inline functions.
(See existing comments in mysql_thread.h)
In include/mysql/psi/mysql_thread.h,
the instrumentation helpers for mysql_prlock_*
uses the pr lock apis.
These apis are implemented in mysys/thr_rwlock.c,
which is not linked to client code.
As a result, the code does not link in libmysql_r, on HPUX.
The fix is to cut dependencies explicitely,
by introducing -DDISABLE_MYSQL_RWLOCK_H,
when building client code.
Diffstat (limited to 'plugin/semisync')
0 files changed, 0 insertions, 0 deletions