[Liblas-commits] hg-main-tree: remove extra writing of buffer overrun data

liblas-commits at liblas.org liblas-commits at liblas.org
Tue Apr 12 16:11:52 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/2b9203550cf5
changeset: 546:2b9203550cf5
user:      Howard Butler <hobu.inc at gmail.com>
date:      Tue Apr 12 15:11:31 2011 -0500
description:
remove extra writing of buffer overrun data

diffstat:

 src/drivers/oci/Iterator.cpp |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (26 lines):

diff -r 72d80c69e12e -r 2b9203550cf5 src/drivers/oci/Iterator.cpp
--- a/src/drivers/oci/Iterator.cpp	Tue Apr 12 14:30:30 2011 -0500
+++ b/src/drivers/oci/Iterator.cpp	Tue Apr 12 15:11:31 2011 -0500
@@ -178,13 +178,7 @@
     
     bool bDidRead = false;
 
-    // if (getReader().isVerbose())
-    //     std::cout << " Existing block has " << m_block->num_points << " points" << std::endl;
-    
-    // should have 37427853
-    // we have 49898796
-    
-    // capacity is 5000  num blocks = 7488
+
     if (!m_block->num_points) 
     {
         // We still have a block of data from the last readBuffer call
@@ -204,7 +198,6 @@
         if (m_at_end) return 0;
         bDidRead = true;
 
-        unpackOracleData(data);
     }
     
     while (bDidRead)


More information about the Liblas-commits mailing list