db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r704801 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/btree/BTreeController.java
Date Wed, 15 Oct 2008 08:12:05 GMT
Author: kahatlen
Date: Wed Oct 15 01:12:04 2008
New Revision: 704801

URL: http://svn.apache.org/viewvc?rev=704801&view=rev
Log:
DERBY-3911: BTreeController.reclaim_deleted_rows() may hide exceptions

Moved return statement out of the finally clause to prevent that it
hides exceptions thrown in the try block.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/btree/BTreeController.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/btree/BTreeController.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/btree/BTreeController.java?rev=704801&r1=704800&r2=704801&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/btree/BTreeController.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/btree/BTreeController.java
Wed Oct 15 01:12:04 2008
@@ -195,8 +195,9 @@
             if (controlRow != null)
                 controlRow.release();
 
-            return(purged_at_least_one_row);
         }
+
+        return(purged_at_least_one_row);
     }
 
     /**



Mime
View raw message