On Wed September 16 2009 23:56:02 Mariano Martinez Peck wrote: > > > if( mysql_real_connect( (MYSQL*) handle->generic, host, > > > who, cred, database, param->port, socket, param->flags ) == > > > NULL ) > > > > Could you please log the values of the parameters so we can see if the > > problem > > depends on the input of mysql_real_connect()? > > Yes. I wanted to do that but I don't know how to print some values like the > flags or the handle->generic
You can use this one:
DEBUGLOG(
handle->log.write( &(handle->log), 3,
"mysql_real_connect( %p, \"%s\", \"%s\", \"%s\", \"%s\", %d, \"%s\", %d
)",
handle->generic, host, who, cred, database,
param->port, socket, param->flags );
)
Norbert
--
OpenPGP public key
http://www.linuxnetworks.de/norbert.pubkey.asc
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf
_______________________________________________ libopendbx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libopendbx-devel http://www.linuxnetworks.de/doc/index.php/OpenDBX
