in reply to DBI disconnection problems
There are only certain database calls that you can use from within the callback - this is a limitation of OpenClient and of the TDS protocol, not of my code.
The correct way to do this is to set a flag in the error handler, and to check the flag after the handler returns. Unfortunately that makes for somewhat ugly code.
However, the ct_con_drop() failed warning is really not serious. You may be able to shut it up with a $SIG{__WARN__} = sub {}; in your terminate() sub.
Michael
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: DBI disconnection problems
by Jonathan (Curate) on Oct 28, 2001 at 12:32 UTC |