7 messages in com.mysql.lists.mysqlRe: InnoDB on FreeBSD-Alpha problem
FromSent OnAttachments
Yuri16 Aug 2002 14:35 
Heikki Tuuri16 Aug 2002 23:55 
Yuri17 Aug 2002 07:13 
Heikki Tuuri17 Aug 2002 07:38 
yvic...@optima-inc.us17 Aug 2002 07:54 
Yuri18 Aug 2002 08:09 
Yuri19 Aug 2002 06:08 
Subject:Re: InnoDB on FreeBSD-Alpha problem
From:Yuri (yvic@optima-inc.us)
Date:08/18/2002 08:09:39 AM
List:com.mysql.lists.mysql

heikki, > > Anyone i running MySQL with InnoDB > > on FreeBSD-Alpha? > > > > I get the mysqld compiling/running > > ok. DB dump is restored ok locally. > > Locally everything wirks. But it > > crashes on the incoming network connection. > > > > unaligned access: va=0x11fff784 pc=.....

I found the reason of this. It's because in file sql/mysqld.cc the functions fromhost(), hosts_access() and eval_client() were used w/out arguments. Declaration of those in tcpd.h is K&R style -- also w/out arguments. But actual definitions in libwrap.so are with args.

Linux folks should look at this line #if defined (__linux__) which lets these functions be used w/out arguments. Is this incorrect in Linux also?