summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2008-05-04 19:30:50 +0000
committerBrian S. O'Neill <bronee@gmail.com>2008-05-04 19:30:50 +0000
commit1432714fe1329a15669fee3432d59cc9e8d48d1a (patch)
tree6914f2ad323d7c3608d6a4ed3f5608181f97b8f8 /src/main/java/com/amazon
parenta2298969a765b455dc994fd402da0fbd759eea47 (diff)
Fix deadlock recovery.
Diffstat (limited to 'src/main/java/com/amazon')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/sleepycat/BDBStorage.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBStorage.java b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBStorage.java
index 7332a61..be5982b 100644
--- a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBStorage.java
+++ b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBStorage.java
@@ -817,9 +817,9 @@ abstract class BDBStorage<Txn, S extends Storable> implements Storage<S>, Storag
try {
Transaction txn;
if (top) {
- txn = mRepository.enterTopTransaction(IsolationLevel.READ_COMMITTED);
+ txn = repo.enterTopTransaction(IsolationLevel.READ_COMMITTED);
} else {
- txn = mRepository.enterTransaction(IsolationLevel.READ_COMMITTED);
+ txn = repo.enterTransaction(IsolationLevel.READ_COMMITTED);
}
txn.setForUpdate(true);
@@ -956,7 +956,6 @@ abstract class BDBStorage<Txn, S extends Storable> implements Storage<S>, Storag
boolean[] nullable = null;
if (typeDescriptor != null) {
- System.out.println(typeDescriptor);
types = new TypeDesc[count];
nullable = new boolean[count];