db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1325815 - in /db/derby/site/trunk: build/site/papers/pageformats.html src/documentation/content/xdocs/papers/pageformats.xml
Date Fri, 13 Apr 2012 15:51:30 GMT
Author: rhillegas
Date: Fri Apr 13 15:51:30 2012
New Revision: 1325815

URL: http://svn.apache.org/viewvc?rev=1325815&view=rev
Log:
DERBY-5207: Commit Mohamed Nufail's patch to fix errors in the website's description of Derby
page formats.

Modified:
    db/derby/site/trunk/build/site/papers/pageformats.html
    db/derby/site/trunk/src/documentation/content/xdocs/papers/pageformats.xml

Modified: db/derby/site/trunk/build/site/papers/pageformats.html
URL: http://svn.apache.org/viewvc/db/derby/site/trunk/build/site/papers/pageformats.html?rev=1325815&r1=1325814&r2=1325815&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/papers/pageformats.html (original)
+++ db/derby/site/trunk/build/site/papers/pageformats.html Fri Apr 13 15:51:30 2012
@@ -617,14 +617,6 @@ have allocation bit maps.
 <tr>
             
 <td colspan="1" rowspan="1">2 bytes</td>
-            <td colspan="1" rowspan="1">unsigned short</td>
-            <td colspan="1" rowspan="1">% of the page to keep free for updates</td>
-          
-</tr>
-          
-<tr>
-            
-<td colspan="1" rowspan="1">2 bytes</td>
             <td colspan="1" rowspan="1">short</td>
             <td colspan="1" rowspan="1">spare for future use</td>
           
@@ -633,7 +625,7 @@ have allocation bit maps.
 <tr>
             
 <td colspan="1" rowspan="1">4 bytes</td>
-            <td colspan="1" rowspan="1">long</td>
+            <td colspan="1" rowspan="1">integer</td>
             <td colspan="1" rowspan="1">spare for future use (encryption uses to write
random bytes 
 
                 here).</td>
@@ -667,7 +659,7 @@ have allocation bit maps.
 
             that 0 means field was never assigned. </div>
 </div>
-<a name="N1018C"></a><a name="records"></a>
+<a name="N1017A"></a><a name="records"></a>
 <h3 class="boxed"> Records </h3>
 <p>The records section contains zero or more records. Each record starts 
 
@@ -694,13 +686,6 @@ have allocation bit maps.
                 
 <tr>
                   
-<td colspan="1" rowspan="1">RECORD_INITIAL</td>
-                  <td colspan="1" rowspan="1">used when record header is first initialized</td>
-                
-</tr>
-                
-<tr>
-                  
 <td colspan="1" rowspan="1">RECORD_DELETED</td>
                   <td colspan="1" rowspan="1">used to indicate the record has been
deleted</td>
                 
@@ -962,7 +947,7 @@ have allocation bit maps.
 
           </div>
 </div>
-<a name="N102E2"></a><a name="slottable"></a>
+<a name="N102C3"></a><a name="slottable"></a>
 <h3 class="boxed">Slot Offset Table</h3>
 <p>The slot offset table is a table of 6 or 12 bytes per record, depending 
 
@@ -1007,14 +992,14 @@ have allocation bit maps.
           First slot is slot 0. The slot table grows backwards. Slots are never 
 
           left empty. </p>
-<a name="N10329"></a><a name="checksum"></a>
+<a name="N1030A"></a><a name="checksum"></a>
 <h3 class="boxed">Checksum</h3>
 <p>8 bytes of a java.util.zip.CRC32 checksum of the entire's page contents 
 
           without the 8 bytes representing the checksum.</p>
 </div>
     
-<a name="N10334"></a><a name="allocpage"></a>
+<a name="N10315"></a><a name="allocpage"></a>
 <h2 class="boxed">Allocation Page</h2>
 <div class="section">
 <p> An allocation page of the file container extends a normal Stored page, 
@@ -1131,7 +1116,7 @@ have allocation bit maps.
             </td>
           <td colspan="1" rowspan="1">
 
-                FormatId
+                FormatId (Although 4 bytes are allocated, this uses only the first 2 bytes.
Next 2 bytes are unused.)
 
             </td>
         
@@ -1228,7 +1213,7 @@ have allocation bit maps.
 	extent row to the alloc page.
 
 	</p>
-<a name="N10409"></a><a name="Alloc+Page+detailed+implementation+notes"></a>
+<a name="N103EA"></a><a name="Alloc+Page+detailed+implementation+notes"></a>
 <h3 class="boxed">
 
 	Alloc Page detailed implementation notes</h3>
@@ -1298,7 +1283,7 @@ have allocation bit maps.
 <p>For the fields in an allocation extent row.</p>
 </div>
     
-<a name="N10423"></a><a name="Allocation+Extent"></a>
+<a name="N10404"></a><a name="Allocation+Extent"></a>
 <h2 class="boxed">Allocation Extent</h2>
 <div class="section">
 <p>

Modified: db/derby/site/trunk/src/documentation/content/xdocs/papers/pageformats.xml
URL: http://svn.apache.org/viewvc/db/derby/site/trunk/src/documentation/content/xdocs/papers/pageformats.xml?rev=1325815&r1=1325814&r2=1325815&view=diff
==============================================================================
--- db/derby/site/trunk/src/documentation/content/xdocs/papers/pageformats.xml (original)
+++ db/derby/site/trunk/src/documentation/content/xdocs/papers/pageformats.xml Fri Apr 13
15:51:30 2012
@@ -186,17 +186,12 @@ have allocation bit maps.
           </tr>
           <tr>
             <td>2 bytes</td>
-            <td>unsigned short</td>
-            <td>% of the page to keep free for updates</td>
-          </tr>
-          <tr>
-            <td>2 bytes</td>
             <td>short</td>
             <td>spare for future use</td>
           </tr>
           <tr>
             <td>4 bytes</td>
-            <td>long</td>
+            <td>integer</td>
             <td>spare for future use (encryption uses to write random bytes 
 
                 here).</td>
@@ -237,10 +232,6 @@ have allocation bit maps.
               <p>Status bits for the record header</p>
               <table>
                 <tr>
-                  <td>RECORD_INITIAL</td>
-                  <td>used when record header is first initialized</td>
-                </tr>
-                <tr>
                   <td>RECORD_DELETED</td>
                   <td>used to indicate the record has been deleted</td>
                 </tr>
@@ -575,7 +566,7 @@ have allocation bit maps.
             </td>
           <td>
 
-                FormatId
+                FormatId (Although 4 bytes are allocated, this uses only the first 2 bytes.
Next 2 bytes are unused.)
 
             </td>
         </tr>



Mime
View raw message