2 messages in com.mysql.lists.clusterRe: ndbout refuse to work
FromSent OnAttachments
xeattip19 Mar 2007 05:41 
Stewart Smith25 Mar 2007 21:22 
Subject:Re: ndbout refuse to work
From:Stewart Smith (stew@mysql.com)
Date:03/25/2007 09:22:02 PM
List:com.mysql.lists.cluster

On Mon, 2007-03-19 at 20:41 +0800, xeattip wrote:

When I use ndbapi to verify a test, the logs I added into the ndbapi class(NdbTransaction, NdbOperation ...) with ndbout/ndbout_c can not be printed out into the error file. However, when I execute the equivalent SQL sentenses from MySQL client, those logs I add work correctly. And, It can not work even after I re-seted the stderr/stdout with freopen in NdbOperation/NdbTransaction.

I'd say check the following: - linking to the correct library version - check you're not doing anything strange with file descriptors - check the NdbOut.hpp source file to see exactly where ndbout is sent by default/due to what changes.

Jumpstart your cluster: http://www.mysql.com/consulting/packaged/cluster.html