Re: Error handling for auto-reconnect?
- From: henri@xxxxxxxxxxxxx (Henri Asseily)
- Date: Thu, 26 Jan 2006 16:37:45 +0200
Are you talking about $dbh->{Statement} ?
If you want full transactional integrity and you've been sending multiple statements within the transaction, you could overload execute() and track every time there's an "open tran" or "commit" in the statement. Anything in between, you store in an array of statements so when there's an error you rerun all of them.
Steven Lembark wrote:
Is there any way to restart the failed transaction from
within the HandleError sub? I cannot find anything in the DBI doc's that allows me to tell what the last op
on the dbh was.
thanx
.
- Follow-Ups:
- Re: Error handling for auto-reconnect?
- From: Steven Lembark
- Re: Error handling for auto-reconnect?
- References:
- Re: Error handling for auto-reconnect?
- From: Steven Lembark
- Re: Error handling for auto-reconnect?
- Prev by Date: Re: have problems in intalling dbi module
- Next by Date: Re: DBD::Oracle object version 1.15 does not match bootstrap parameter 1.06
- Previous by thread: Re: Error handling for auto-reconnect?
- Next by thread: Re: Error handling for auto-reconnect?
- Index(es):