diff options
author | unknown <monty@hundin.mysql.fi> | 2001-11-07 02:30:34 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-11-07 02:30:34 +0200 |
commit | 1ed1ec4c84db6e14023e55fdc6aa471c58ce71c8 (patch) | |
tree | 467eb97b1693dd5b30f6e2b3a1e88241fad6228c /tools | |
parent | d207a0c2f022d0a65e95cddf8a1dc957f0e0a34e (diff) | |
download | mariadb-git-1ed1ec4c84db6e14023e55fdc6aa471c58ce71c8.tar.gz |
Portability fix.
Fixed linking problem with InnoDB.
BUILD/compile-alpha-cxx:
Fix for using innodb
acinclude.m4:
Fix problem with linking mysqld after Heikkis last changes.
client/mysql.cc:
Fixed linking problem
client/mysqlmanager-pwgen.c:
Portability fix
innobase/que/que0que.c:
Removed some blanks
myisam/ft_boolean_search.c:
Portability fix
myisam/sort.c:
Portability fix
mysys/queues.c:
Portability fix
strings/ctype-latin1_de.c:
Portability fix
tools/mysqlmanager.c:
Portability fix
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mysqlmanager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mysqlmanager.c b/tools/mysqlmanager.c index 5783d151107..c9307bf5d0c 100644 --- a/tools/mysqlmanager.c +++ b/tools/mysqlmanager.c @@ -978,7 +978,7 @@ static int authenticate(struct manager_thd* thd) for (;isspace(*buf) && buf<buf_end;buf++) /* empty */; my_MD5Init(&context); - my_MD5Update(&context,buf,(uint)(buf_end-buf)); + my_MD5Update(&context,(uchar*) buf,(uint)(buf_end-buf)); my_MD5Final(digest,&context); if (memcmp(u->md5_pass,digest,MD5_LEN)) return 1; @@ -1218,7 +1218,7 @@ struct manager_thd* manager_thd_new(Vio* vio) tmp->user[0]=0; tmp->priv_flags=0; tmp->fatal=tmp->finished=0; - tmp->cmd_buf=tmp->net.read_pos; + tmp->cmd_buf= (char*) tmp->net.read_pos; return tmp; } |