From 689578a0997f54c590bcf4791e30710602851bc4 Mon Sep 17 00:00:00 2001 From: "monty@mashka.mysql.fi" <> Date: Tue, 28 Jan 2003 08:38:28 +0200 Subject: Fixes for Netware Call pthread_mutex_destroy() on not used mutex. Changed comments in .h and .c files from // -> /* */ Added detection of mutex on which one didn't call pthread_mutex_destroy() Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression" Added optimisation for ORDER BY NULL --- extra/resolveip.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'extra') diff --git a/extra/resolveip.c b/extra/resolveip.c index e380d920e9f..52d71d40a64 100644 --- a/extra/resolveip.c +++ b/extra/resolveip.c @@ -16,7 +16,7 @@ /* Resolves IP's to hostname and hostnames to IP's */ -#define RESOLVE_VERSION "2.2" +#define RESOLVE_VERSION "2.3" #include #include @@ -147,8 +147,11 @@ int main(int argc, char **argv) else { printf ("Host name of %s is %s", ip,hpaddr->h_name); +#ifndef __NETWARE__ + /* this information is not available on NetWare */ for (q = hpaddr->h_aliases; *q != 0; q++) (void) printf(", %s", *q); +#endif /* __NETWARE__ */ puts(""); } } -- cgit v1.2.1