On Tue, Jul 10, 2001 at 09:25:57PM -0400, Pereira, Adrian non Unisys wrote:
> Hi
> 
> I have difficulty installing DBD for Oracle on a solaris 2.5 system.  I have
> read as much doco and archives and cant find the cause of it can anyone
> help?

It's a bug in the oci7 code in that release of DBD::Oracle.
Here's a patch:

*** 1.64        2001/06/06 00:46:39
--- dbdimp.c    2001/07/11 10:11:25
***************
*** 737,743 ****
      ub2 **alen_ptr_ptr;
  {
      STRLEN value_len;
!     int at_exec = (phs->desc_h == NULL);
  
      if (!SvPOK(phs->sv)) {    /* normalizations for special cases     */
        if (SvOK(phs->sv)) {    /* ie a number, convert to string ASAP  */
--- 737,746 ----
      ub2 **alen_ptr_ptr;
  {
      STRLEN value_len;
!     int at_exec = 0;
! #ifdef OCI_V8_SYNTAX
!     at_exec = (phs->desc_h == NULL);
! #endif
  
      if (!SvPOK(phs->sv)) {    /* normalizations for special cases     */
        if (SvOK(phs->sv)) {    /* ie a number, convert to string ASAP  */

Tim.

Reply via email to