On Tue, Sep 04, 2001 at 01:35:30PM -0400, Jim Lynch wrote:
> OK, thanks.  I thought the hash being reported was the database handle,
> I wasn't aware it was "the object I haven't finished" handle.

It is the db handle. There's no easy way to report the statement handles.
I could possibly add something to the DBI to help but meanwhile the
easiest way might be to send trace output to a file and grep that
for prepare and finish/DESTROY's.

Tim.

> Jim.
> 
> [EMAIL PROTECTED] wrote:
> > 
> > -- Jim Lynch <[EMAIL PROTECTED]> on 09/04/01 08:34:26 -0400
> > 
> > > HASH(0x10011564)
> > 
> > Print out the handles as you generate them.  This is just
> > a stringified DBI object of some sort.  e.g.,
> > 
> >     my $foo = DBI->connect( @bar );
> > 
> >     print STDERR "foo: $foo";
> > 
> > will give you something like:
> > 
> >     foo: HASH(0x12345678)
> > 
> > on the way out you can eyeball the list for matches.

Reply via email to