Re: panic: DESTROY (dbih_clearcom) in trace output



On Thu, Jun 07, 2007 at 08:53:56PM +0100, Martin J. Evans wrote:
(in cleanup) panic: DESTROY (dbih_clearcom) inner handle HASH is not a hash ref at /usr/lib/perl5/site_perl/5.8.8/DBIx/Log4perl/db.pm line 55.

I can find in the following in dbih_inner

/* extra checks if being paranoid */
if (DBIS->debug && (!SvROK(hrv) || SvTYPE(SvRV(hrv)) != SVt_PVHV)) {
if (!what)
return NULL;
sv_dump(orv);
croak("panic: %s inner handle %s is not a hash ref",
what, neatsvpv(hrv,0));
}

but I'm not sure what it is croaking about. Is this something I need to
worry about?

Nope. Upgrade your DBI.

This was fixed in r9395. The log comment was: "Remove old DBI internal
sanity check that's no longer valid (after spending a few hours banging
my head against it)"

:)

Tim.
.



Relevant Pages

  • Re: panic: DESTROY (dbih_clearcom) in trace output
    ... Tim Bunce wrote: ... %s inner handle %s is not a hash ref", ...
    (perl.dbi.users)
  • assign STDIN to a hash ref
    ... I'm trying to assign STDIN to a hash ref... ... control if I don't learn to use references. ... User selects vendor and then selects the type of image (regular or ...
    (perl.beginners)
  • Re: how to create a hash whose key is a reference
    ... as the key but in the second one I want the reference to that string ... Hash keys are always strings. ... perfectly possible to take the reference of a key. ... al lthe work of keep the 2nd ref up to date - perhaps usinga Tie module ...
    (comp.lang.perl.misc)
  • Re: IPC:Shareable
    ... You cannot assign a ref to an IPC::Shareable tied hash. ... means I can store the hash to disk (or memory, ...
    (comp.lang.perl.misc)
  • Re: Computing hash values
    ... A nested loop is when the inner table is processed completely for each row ... For hash joins the inner table is read once to build the hash table, ... SQL Server MVP ...
    (microsoft.public.sqlserver.server)