summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-10-09 19:32:55 +0300
committermonty@hundin.mysql.fi <>2001-10-09 19:32:55 +0300
commit2eb83ad4e941307b9b352c0a8f72399559dc107f (patch)
tree3c2155c0f40e53dac7920f25fb7cf448cd718702 /tools
parent9131b569ca8ce55b211604ac656a18bf42c58c09 (diff)
downloadmariadb-git-2eb83ad4e941307b9b352c0a8f72399559dc107f.tar.gz
Don't depend on mit-pthreads include files when building libmysqld.a
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);