Unset transaction name in commit() and abort() - merge from helma_1_4 branch
This commit is contained in:
parent
a77a6cf602
commit
bcf5542565
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue