Author: timbo
Date: Sun Jul 25 11:14:32 2004
New Revision: 409
Modified:
dbi/trunk/dbivport.h
Log:
Add DBIcf_Executed and allow state to be null in DBIh_SET_ERR_CHAR()
Modified: dbi/trunk/dbivport.h
==============================================================================
--- dbi/trunk/dbivport.h (original)
+++ dbi/trunk/dbivport.h Sun Jul 25 11:14:32 2004
@@ -18,10 +18,14 @@
*/
#define DBIh_SET_ERR_CHAR(h, imp_xxh, err_c, err_i, errstr, state, method) \
sv_setiv(DBIc_ERR(imp_xxh), err_i); \
- sv_setpv(DBIc_STATE(imp_xxh), state); \
+ (state) ? sv_setpv(DBIc_STATE(imp_xxh), state) :
SvOK_off(DBIc_STATE(imp_xxh)); \
sv_setpv(DBIc_ERRSTR(imp_xxh), errstr)
#endif
+#ifndef DBIcf_Executed
+#define DBIcf_Executed 0x080000
+#endif
+
#ifndef DBIc_TRACE_LEVEL_MASK
#define DBIc_TRACE_LEVEL_MASK 0x0000000F
#define DBIc_TRACE_FLAGS_MASK 0xFFFFFF00