Transaction management problem
Brought to you by:
edwardbenson
If you call commit or rollback without having a
transaction started, the next transaction is not
started correctly and the connection stays is
autocommit mode.
The problem is that fInTransaction gets a negative
value in commit/rollback and there are tests for
fInTransaction > 0, the next call to beginTransaction
increments the value but it is still negative or 0. A
suggestion is that fInTransaction should not be allowed
to be a negative value and should be checked for this
before being decremented.
Logged In: YES
user_id=644745
I completely with you agree. It will be corrected in the
following version. Thanks.