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