Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBD-Oracle CPAN distribution.

Report information
The Basics
Id: 47503
Status: resolved
Priority: 0/
Queue: DBD-Oracle

People
Owner: Nobody in particular
Requestors: dot.and.thing [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.23
Fixed in:
  • 1.24
  • 1.24a
  • 1.24b



Subject: using more than 1 LOB in insert broken
because enclosing hash iterator have a same position variable as enclosed iterator maybe only in perl 5.10 patch included
Subject: oci8.patch
Index: oci8.c =================================================================== --- oci8.c (revision 12980) +++ oci8.c (working copy) @@ -3468,7 +3468,7 @@ ub2 numcols = 0; imp_fbh_t *fbh; int unmatched_params; - I32 i; + I32 i, j; char *p; lob_refetch_t *lr = NULL; STRLEN tablename_len; @@ -3648,7 +3648,7 @@ hv_iterinit(lob_cols_hv); - while( (sv = hv_iternextsv(lob_cols_hv, &p, &i)) != NULL ) { + while( (sv = hv_iternextsv(lob_cols_hv, &p, &j)) != NULL ) { char sql_field[200]; if (phs->ora_field) { /* must match this phs by field name */ char *ora_field_name = SvPV(phs->ora_field,na);
Ok the patch appliled to trunk will be in the next relases