Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: three minus two?
(Example: nine)

The Note You're Voting On

garrett at bgb dot cc
23 years ago
If a transaction is in progress when page processing ends, is it aborted before the connection placed bak in the pool? Or is the connection added "as is"?

It would seem that the correct thing to do is to always 'ABORT' before adding to the pool.

As a note, this would be a good time to check and see if the connection is still open before readding it. Thus allowing closed connections to be cleaned up over time, instead of hanging around for ever as they do now.

<< Back to user notes page

To Top