Author: byterock
Date: Tue Jul 20 18:22:47 2010
New Revision: 14263
Modified:
dbd-oracle/trunk/ocitrace.h
Log:
Fix for invalid format in trace of OCILobLocatorIsInit_log_stat reported by Martin Evans Fixed by John Scoles yet again
Modified: dbd-oracle/trunk/ocitrace.h
==============================================================================
--- dbd-oracle/trunk/ocitrace.h (original)
+++ dbd-oracle/trunk/ocitrace.h Tue Jul 20 18:22:47 2010
@@ -119,12 +119,12 @@
OciTp, (void*)svchp,(void*)envhp, src_type, src_ptr,oci_status_name(stat)),stat \
: stat
-#define OCILobLocatorIsInit_log_stat(envhp,errhp,loc,is_init,stat)\
+#define OCILobLocatorIsInit_log_stat(envhp,errhp,loc,is_initp,stat)\
stat =OCILobLocatorIsInit (envhp,errhp,loc,is_init );\
(DBD_OCI_TRACEON) \
? PerlIO_printf(DBD_OCI_TRACEFP,\
"%sOCILobLocatorIsInit_log_stat(%p,%p,%p,%d)=%s\n",\
- OciTp, (void*)envhp, (void*)errhp,loc,is_init,oci_status_name(stat)),stat \
+ OciTp, (void*)envhp, (void*)errhp,loc,*is_initp,oci_status_name(stat)),stat \
: stat
#define OCIObjectPin_log_stat(envhp,errhp,or,ot,stat)\
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.