]> git.evergreen-ils.org Git - OpenSRF.git/commit
Added "register_death_callback()" interface to run code at the begining of
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 22 Feb 2005 13:44:46 +0000 (13:44 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 22 Feb 2005 13:44:46 +0000 (13:44 +0000)
commit01127e72360ccac8572b9316ac7b88a22ab57311
treedb6ac0f464ce92058115557844e7ff3410668e9a
parent6b58214bb1259838578794589db39fac20611ef7
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/OpenSRF/trunk@94 9efc2488-bf62-4759-914b-345cdb29e865
src/perlmods/OpenSRF/AppSession.pm