Skip Menu |

This queue is for tickets about the DBIx-DWIW CPAN distribution.

Report information
The Basics
Id: 94225
Status: new
Priority: 0/
Queue: DBIx-DWIW

People
Owner: Nobody in particular
Requestors: webmaster [...] rjweb.org
Cc:
AdminCc:

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



Subject: missplaced finish() in Hash() -- spurious error
Date: Wed, 26 Mar 2014 15:49:18 -0700 (PDT)
To: "bug-DBIx-DWIW [...] rt.cpan.org" <bug-DBIx-DWIW [...] rt.cpan.org>
From: Rick James <webmaster [...] rjweb.org>
In the Hash() subroutine of DWIW.pm, at about line 1509, move the finish to outside the IF{}:         if (not $result)         {             if ($sth->err)             {                 $@ = $sth->errstr . " [$sql] ($sth)";             }             else             {                 $@ = "";             }             ### $sth->finish; was here         }         $sth->finish;   ## moved to here -- Rick James