db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r678460 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java
Date Mon, 21 Jul 2008 16:25:52 GMT
Author: mamta
Date: Mon Jul 21 09:25:52 2008
New Revision: 678460

URL: http://svn.apache.org/viewvc?rev=678460&view=rev
Log:
DERBY-269 Cleaning up code comments in AlterTableConstantAction.


Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java?rev=678460&r1=678459&r2=678460&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java
Mon Jul 21 09:25:52 2008
@@ -664,14 +664,8 @@
 					TransactionController.MODE_RECORD,
 					TransactionController.ISOLATION_REPEATABLE_READ);
 
-		//= null;
 		try
 		{
-/*			 heapCC = 
-				tc.openConglomerate(td.getHeapConglomerateId(), false, 0,
-					TransactionController.MODE_RECORD,
-					TransactionController.ISOLATION_REPEATABLE_READ);*/
-
 			for (int i = 0; i < cds.length; i++)
 			{
 				if (!cds[i].isIndex())
@@ -692,8 +686,7 @@
 		}
 		finally
 		{
-//			if (heapCC != null)
-				heapCC.close();
+			heapCC.close();
 		}
 
 		dd.startWriting(lcc);
@@ -753,11 +746,8 @@
 			} // try
 			finally
 			{
-//				if (gsc != null)
-				{
-					gsc.close();
-					gsc = null;
-				}
+				gsc.close();
+				gsc = null;
 			}
 
 			if (numRows == 0)



Mime
View raw message