Skip Menu |

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

Report information
The Basics
Id: 84323
Status: resolved
Priority: 0/
Queue: DBD-Sybase

People
Owner: mpeppler [...] peppler.org
Requestors: DDICK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.12
Fixed in: (no value)



Subject: PATCH: Keeping DBD-Sybase compatible with older compilers
This patch allows DBD::Sybase to still be built by very old compilers.
Subject: dbd_sybase_declare.patch
diff -Naur old/dbdimp.c new/dbdimp.c --- old/dbdimp.c 2011-10-03 01:56:17.000000000 +1100 +++ new/dbdimp.c 2013-03-30 19:16:54.959739974 +1100 @@ -3843,6 +3843,7 @@ dTHX; D_imp_dbh_from_sth; int restype; + CS_DATAFMT datafmt; #if 0 /* XXX */ @@ -3913,7 +3914,6 @@ /* Since we have a parameter result, bind all the output parameters */ for (i = 0; i < foundOutput; i++) { phs = params[i].phs; - CS_DATAFMT datafmt; /* find the maxlenght through ct_describe */ if( ct_describe(imp_sth->cmd, i+1, &datafmt) != CS_SUCCEED) croak("ct_describe() failed");
On Sun Mar 31 20:56:49 2013, DDICK wrote: Show quoted text
> This patch allows DBD::Sybase to still be built by very old compilers.
Thanks - already fixed in my copy.
Applied in 1.15