]> git.evergreen-ils.org Git - Evergreen.git/commit
Added "register_death_callback()" interface to run code at the begining of
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Feb 2005 13:44:46 +0000 (13:44 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 22 Feb 2005 13:44:46 +0000 (13:44 +0000)
commit0f33aeddc50a6bd5a19d27cf58c3e4a8b8ff13a4
tree6a2a23d990bf8decc55e646b8ab251cc919a5fcc
parent9d55a017e47680ee90b77894cf45b4617a6ef59e
Added "register_death_callback()" interface to run code at the begining of
"kill_me()".  This is the first thing needed to provide a transparent transaction
interface somewhere down the line.  It is added now to support database transactions
that span multiple requests.  We need this in order to send a ROLLBACK to the DB
in the case of a session killing error during a DB transaction.  We don't want
to leave locks or failed transactions lying around in the DB, right?

git-svn-id: svn://svn.open-ils.org/ILS/trunk@96 dcc99617-32d9-48b4-a31d-7c20da2025e4
OpenSRF/src/perlmods/OpenSRF/AppSession.pm