From 1432714fe1329a15669fee3432d59cc9e8d48d1a Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Sun, 4 May 2008 19:30:50 +0000 Subject: Fix deadlock recovery. --- src/main/java/com/amazon/carbonado/repo/sleepycat/BDBStorage.java | 5 ++--- 1 file 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 implements Storage, 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 implements Storage, Storag boolean[] nullable = null; if (typeDescriptor != null) { - System.out.println(typeDescriptor); types = new TypeDesc[count]; nullable = new boolean[count]; -- cgit v1.2.3