DBD-Oracle
view release on metacpan or search on metacpan
#ifndef DBD_OCI_TRACEON
/* OCI functions "wrapped" to produce tracefile dumps (may be handy when giving
diagnostic info to Oracle Support, or just learning about OCI)
Macros are named "_log" as a mnemonic that they log to the tracefile if needed
Macros named "_log_stat" return status in last parameter.
*/
#define DBD_OCI_TRACEON(h) (DBIc_DBISTATE(h)->debug >= 6 || dbd_verbose >= 6)
#define DBD_OCI_TRACEFP(h) (DBIc_LOGPIO(h))
#define OciTp ("\tOCI") /* OCI Trace Prefix */
#define OciTstr(s) ((s) ? (text*)(s) : (text*)"<NULL>")
#define ul_t(v) ((unsigned long)(v))
#define pul_t(v) ((unsigned long *)(v))
#define sl_t(v) ((signed long)(v))
#define psl_t(v) ((signed long *)(v))
( run in 0.616 second using v1.01-cache-2.11-cpan-49f99fa48dc )