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 | db71e5e6f92cae5bc731842d5da9dd7f8fe3eb70 (patch) | |
tree | a132647272f2039e25b26df61dafedb30ce539cd /config/ac-macros | |
parent | e370ad1e76f6cadd68f8b41b76d49b701600614d (diff) | |
download | mariadb-git-db71e5e6f92cae5bc731842d5da9dd7f8fe3eb70.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 'config/ac-macros')
0 files changed, 0 insertions, 0 deletions