db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: r161965 - incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/db incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/conglomerate incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data
Date Tue, 19 Apr 2005 20:39:44 GMT
Author: mikem
Date: Tue Apr 19 13:39:43 2005
New Revision: 161965

URL: http://svn.apache.org/viewcvs?view=rev&rev=161965
Log:
continuing online compress work, remove debug statements.


Modified:
    incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/db/OnlineCompress.java
    incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/conglomerate/GenericScanController.java
    incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/StoredPage.java

Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/db/OnlineCompress.java
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/db/OnlineCompress.java?view=diff&r1=161964&r2=161965
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/db/OnlineCompress.java (original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/db/OnlineCompress.java Tue
Apr 19 13:39:43 2005
@@ -202,7 +202,6 @@
                     index_cc,
                     index_row);
 
-                SanityManager.DEBUG_PRINT("OnlineCompress", "index_col_map = " + index_col_map);
             }
 
 			/* Open the heap for reading */
@@ -228,9 +227,6 @@
                     {
                         for (int index = 0; index < num_indexes; index++)
                         {
-                            SanityManager.DEBUG_PRINT("OnlineCompress", "calling fixIndex,
row = " + row + "; index = " + index);
-                SanityManager.DEBUG_PRINT("OnlineCompress", "before fixIndex call index_col_map
= " + index_col_map);
-                SanityManager.DEBUG_PRINT("OnlineCompress", "before fixIndex call index_col_map[0]
= " + index_col_map[0]);
                             fixIndex(
                                 row_array[row],
                                 index_row[index],
@@ -391,7 +387,6 @@
         int index_idx = 0;
         for (int cd_idx = 0; cd_idx < conglom_descriptors.length; cd_idx++)
         {
-            SanityManager.DEBUG_PRINT("OnlineCompress", "setup loop: " + cd_idx);
             ConglomerateDescriptor index_cd = conglom_descriptors[cd_idx];
 
             if (!index_cd.isIndex())
@@ -399,7 +394,6 @@
                 // skip the heap descriptor entry
                 continue;
             }
-            SanityManager.DEBUG_PRINT("OnlineCompress", "setup loop 1: " + cd_idx);
 
             // ScanControllers are used to delete old index row
             index_scan[index_idx] = 

Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/conglomerate/GenericScanController.java
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/conglomerate/GenericScanController.java?view=diff&r1=161964&r2=161965
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/conglomerate/GenericScanController.java
(original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/conglomerate/GenericScanController.java
Tue Apr 19 13:39:43 2005
@@ -1015,11 +1015,6 @@
     boolean closeHeldScan)
         throws StandardException
 	{
-        SanityManager.DEBUG_PRINT("GenericScanController.closeForEndTransaction", 
-                "closeHeldScan = " + closeHeldScan +
-                "open_conglom.getHold() = " + open_conglom.getHold());
-                
-
         if ((!open_conglom.getHold()) || closeHeldScan) 
         {
             // close the scan as part of the commit/abort

Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/StoredPage.java
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/StoredPage.java?view=diff&r1=161964&r2=161965
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/StoredPage.java
(original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/StoredPage.java
Tue Apr 19 13:39:43 2005
@@ -6887,9 +6887,6 @@
 
             if (dest_page != null)
             {
-                SanityManager.DEBUG_PRINT("moveRecordForCompressAtSlot", 
-                        "last = " + dest_page.getPageNumber()); 
-
                 if ((dest_page.getPageNumber() >= getPageNumber()) ||
                     (!dest_page.spaceForCopy(row_size)))
                 {
@@ -6908,9 +6905,6 @@
 
                 if (dest_page != null)
                 {
-                    SanityManager.DEBUG_PRINT("moveRecordForCompressAtSlot", 
-                            "unfill = " + dest_page.getPageNumber()); 
-
                     if ((dest_page.getPageNumber() >= getPageNumber()) ||
                         (!dest_page.spaceForCopy(row_size)))
                     {
@@ -6925,9 +6919,6 @@
             {
                 // last and unfilled page did not work, try getting a free page
                 dest_page = (StoredPage) owner.addPage();
-
-                SanityManager.DEBUG_PRINT("moveRecordForCompressAtSlot", 
-                        "addPage = " + dest_page.getPageNumber()); 
 
                 if (dest_page.getPageNumber() >= getPageNumber())
                 {



Mime
View raw message