summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-10-09 19:32:55 +0300
committerunknown <monty@hundin.mysql.fi>2001-10-09 19:32:55 +0300
commitfe576bde63b7267accb56cb82141563503eb6db0 (patch)
tree3c2155c0f40e53dac7920f25fb7cf448cd718702 /tools
parentade101ca2bf132b5eb065ef74aa574c01e202074 (diff)
downloadmariadb-git-fe576bde63b7267accb56cb82141563503eb6db0.tar.gz
Don't depend on mit-pthreads include files when building libmysqld.a
BUILD/compile-pentium-pgcc: Update to 4.0 Docs/manual.texi: Added info about --with-embedded-server libmysqld/Makefile.am: Don't depend on mit-pthreads include files tools/mysqlmanager.c: Remove warnings
Diffstat (limited to 'tools')
-rw-r--r--tools/mysqlmanager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mysqlmanager.c b/tools/mysqlmanager.c
index 4a3981a890e..071e14562a7 100644
--- a/tools/mysqlmanager.c
+++ b/tools/mysqlmanager.c
@@ -1040,7 +1040,7 @@ LOG_MSG_FUNC(log_info,LOG_INFO)
#ifndef DBUG_OFF
LOG_MSG_FUNC(log_debug,LOG_DEBUG)
#else
-inline void log_debug(char* __attribute__((unused)) fmt,...) {}
+inline void log_debug(const char* __attribute__((unused)) fmt,...) {}
#endif
static pthread_handler_decl(process_launcher_messages,
@@ -1065,7 +1065,7 @@ static pthread_handler_decl(process_launcher_messages,
char* ident=buf+1;
int ident_len=strlen(ident);
memcpy(&pid,ident+ident_len+1,sizeof(pid));
- log_debug("process message - ident=%s,ident_len=%d,pid=%d",ident,
+ log_debug("process message - ident=%s ident_len=%d pid=%d",ident,
ident_len,pid);
pthread_mutex_lock(&lock_exec_hash);
log_debug("hash has %d records",exec_hash.records);