Author: timbo
Date: Tue Feb 24 09:01:54 2004
New Revision: 141
Modified:
dbi/trunk/Changes
dbi/trunk/DBIXS.h
Log:
Fixed DBD_ATTRIB_DELETE macro thanks to Marco Paskamp.
Modified: dbi/trunk/Changes
==============================================================================
--- dbi/trunk/Changes (original)
+++ dbi/trunk/Changes Tue Feb 24 09:01:54 2004
@@ -11,6 +11,7 @@
Fixed $sth->{NUM_OF_FIELDS} of non-executed statement handle
to be undef as per the docs (it was 0).
Fixed t/41prof_dump.t to work with perl5.9.1.
+ Fixed DBD_ATTRIB_DELETE macro thanks to Marco Paskamp.
Changed attributes (NAME, TYPE etc) of non-executed statement
handle to be undef instead of triggering an error.
Modified: dbi/trunk/DBIXS.h
==============================================================================
--- dbi/trunk/DBIXS.h (original)
+++ dbi/trunk/DBIXS.h Tue Feb 24 09:01:54 2004
@@ -490,7 +490,7 @@
? SvPV_nolen(*svp) : (dflt))
#define DBD_ATTRIB_DELETE(attribs, key, klen) \
- hv_delete((HV*)attribs, key, len, G_DISCARD)
+ hv_delete((HV*)attribs, key, klen, G_DISCARD)
#endif /* DBIXS_VERSION */
/* end of DBIXS.h */