caudium-devel AT caudium.net
Caudium Developer mailing list.

Re: [caudium-devel] Re: Start-time SQL module crash


chronological Thread 
  • From: "H. William Welliver III" <hww3 AT riverweb.com>
  • To: caudium-devel AT caudium.net
  • Subject: Re: [caudium-devel] Re: Start-time SQL module crash
  • Date: Fri, 23 Nov 2007 13:20:00 -0500

I'm not at all sure why it works sometimes and not others.

I found it easier to solve the problem at the source than to work around it. The fix is literally "if(m==NULL) return;", it's unfortunate that you have to do any compiling. You can, though use pike -x module in the src/modules/Mysql directory, and it works just fine. No need to recompile all of pike.

Bill

On Nov 23, 2007, at 11:44 AM, Bertrand LUPART wrote:

I've had that problem, too; I think it has something to do with the
version of mysql you're using. I made this fix a while back to fix it:

http://pike.ida.liu.se/cvs/Pike/7.6/src/modules/Mysql/mysql.c?1.93

I'm using 5.0.16 on darwin (Fink) and 5.0.32 on linux (etch).

Any idea why this problem appears in start() and not in other functions?

I wonder wether i have to move all my connection stuff outside start (),
change my MySQL servers versions, patch my 7.6.112 or use a newer Pike.




Archive powered by MhonArc 2.6.16.

§