#At file:///export/home/tmp/x/mysql-5.1/ based on revid:sergey.glukhov@stripped
3644 Magne Mahre 2011-03-30
Fix-up after commit of Bug#11900714
The patch fixes a build problem on MacOSX, where
the compiler complains about unused parameters.
modified:
mysys/my_net.c
=== modified file 'mysys/my_net.c'
--- a/mysys/my_net.c 2011-03-28 08:47:30 +0000
+++ b/mysys/my_net.c 2011-03-30 14:14:13 +0000
@@ -112,8 +112,10 @@ extern pthread_mutex_t LOCK_gethostbynam
*/
struct hostent *my_gethostbyname_r(const char *name,
- struct hostent *result, char *buffer,
- int buflen, int *h_errnop)
+ struct hostent *result __attribute__((unused)),
+ char *buffer __attribute__((unused)),
+ int buflen __attribute__((unused)),
+ int *h_errnop)
{
struct hostent *hp;
pthread_mutex_lock(&LOCK_gethostbyname_r);
Attachment: [text/bzr-bundle] bzr/magne.mahre@oracle.com-20110330141413-9xe5fqklvg12495n.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1 branch (magne.mahre:3644) Bug#11900714 | Magne Mahre | 30 Mar |