Unset transaction name in commit() and abort() - merge from helma_1_4 branch

This commit is contained in:
hns 2005-03-11 13:32:44 +00:00
parent a77a6cf602
commit bcf5542565

View file

@ -351,6 +351,9 @@ public class Transactor extends Thread {
" inserted, " + updated + " inserted, " + updated +
" updated, " + deleted + " deleted in " + " updated, " + deleted + " deleted in " +
(now - tstart) + " millis"); (now - tstart) + " millis");
// unset transaction name
tname = null;
} }
/** /**
@ -398,6 +401,9 @@ public class Transactor extends Thread {
nmgr.app.logAccess(tname + " aborted after " + nmgr.app.logAccess(tname + " aborted after " +
(System.currentTimeMillis() - tstart) + " millis"); (System.currentTimeMillis() - tstart) + " millis");
} }
// unset transaction name
tname = null;
} }
/** /**