Skip to content

Commit b563460

Browse files
committed
Do *NOT* remove deprecated #defines: they are used in e.g. DBD::Oracle
1 parent 783f733 commit b563460

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

DBIXS.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,10 @@ typedef struct { /* -- FIELD DESCRIPTOR -- */
240240
( (flags && (DBIc_TRACE_FLAGS(imp) & flags) && (DBIc_TRACE_LEVEL(imp) >= flaglevel)) \
241241
|| (level && DBIc_TRACE_LEVEL(imp) >= level) )
242242

243+
/* Deprecated, but cannot be removed, becaused used in e.g. DBD::Oracle :( */
243244
#define DBIc_DEBUG(imp) (_imp2com(imp, attr.TraceLevel)) /* deprecated */
244245
#define DBIc_DEBUGIV(imp) SvIV(DBIc_DEBUG(imp)) /* deprecated */
246+
245247
#define DBIc_STATE(imp) SvRV(_imp2com(imp, attr.State))
246248
#define DBIc_ERR(imp) SvRV(_imp2com(imp, attr.Err))
247249
#define DBIc_ERRSTR(imp) SvRV(_imp2com(imp, attr.Errstr))

0 commit comments

Comments
 (0)