Project

General

Profile

Bug #100

Closing Answer from implicit transaction closes subsequent explicit transaction

Added by Andrae Muys - over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Mulgara
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
fixed

Description

setAutoCommit(true);
query() -> answer
setAutoCommit(false);
query.close();
commit();
setAutoCommit(true);

The commit fails to reserve the writeLock complaining that the writeLock has already been released.

Test case duplicating bug has been added to AdvDatabaseSessionUnitTest.

#1

Updated by Andrae Muys - over 14 years ago

  • Status changed from New to In Progress
#2

Updated by Andrae Muys - over 14 years ago

(In r796) refs #100

Adds a test for a transaction bug found by James Leigh.

setAutoCommit(true);
query() -> answer;
setAutoCommit(false);
answer.close();
commit(); // fails attempting to reserveWriteLock.
setAutoCommit(true);

#3

Updated by Andrae Muys - over 14 years ago

  • Status changed from In Progress to Closed
  • Resolution set to fixed

Also available in: Atom PDF