On Thu, 12 Sep 2002, Tim Bunce wrote:

> Ah, I'd looked at the wrong set_err in DBI.xs (there are two).
> Here's a patch:
> 
> ***************
> *** 3630,3636 ****
>       if (errstr==&sv_no || !SvOK(errstr))
>         errstr = errval;
>       sv_setsv(DBIc_ERRSTR(imp_xxh), errstr);
> !     if (SvOK(state)) {
>         STRLEN len;
>         if (SvPV(state, len) && len != 5)
>             croak("set_err: state must be 5 character string");
> --- 3648,3654 ----
>       if (errstr==&sv_no || !SvOK(errstr))
>         errstr = errval;
>       sv_setsv(DBIc_ERRSTR(imp_xxh), errstr);
> !     if (SvTRUE(state)) {
>         STRLEN len;
>         if (SvPV(state, len) && len != 5)
>             croak("set_err: state must be 5 character string");


Yeah, I already spotted that.  My post must have crossed yours in the 
wires <g>.

Steve


-- 
----------------------------------------------------------------
Steven N. Hirsch       tie-line: 446-6557     ext: 802-769-6557

Staff Engineer                     Methodology Integration Team
ASIC Product Development           IBM Microelectronics
----------------------------------------------------------------

Reply via email to