On Fri, Jan 03, 2003 at 01:35:15PM +1100, Steve Baldwin wrote:
> I am getting the following error on disconnect ...
>  
> DBI::db=HASH(0x104dd094)->disconnect invalidates 1 active statement
> handle (either destroy statement handles or call finish on them before
> disconnecting) at yyy line xxx
>  
> Is there any way of finding out *which* statement handle is active.
> This program has dozens, so if there's an easy way to track it/them
> down, I'll take it !!  If I can get a handle, then I can use the
> {Statement} attribute to get the SQL for that handle.

Use trace and see which DBI::st objects get DESTROY'd after the disconnect.

Tim.

Reply via email to