[Liblas-commits] hg-main-tree: a return number that is 0 is legit
liblas-commits at liblas.org
liblas-commits at liblas.org
Wed Apr 20 13:32:49 EDT 2011
details: http://hg.libpc.orghg-main-tree/rev/6a1463272ebe
changeset: 603:6a1463272ebe
user: Howard Butler <hobu.inc at gmail.com>
date: Wed Apr 20 12:29:32 2011 -0500
description:
a return number that is 0 is legit
Subject: hg-main-tree: revert to allowing 'select * from blk_table' for now
details: http://hg.libpc.orghg-main-tree/rev/6e8f75b35eaf
changeset: 604:6e8f75b35eaf
user: Howard Butler <hobu.inc at gmail.com>
date: Wed Apr 20 12:32:13 2011 -0500
description:
revert to allowing 'select * from blk_table' for now
diffstat:
src/drivers/las/SummaryData.cpp | 2 +-
src/drivers/oci/Reader.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r cb5d7d50690f -r 6e8f75b35eaf src/drivers/las/SummaryData.cpp
--- a/src/drivers/las/SummaryData.cpp Wed Apr 20 12:18:42 2011 -0500
+++ b/src/drivers/las/SummaryData.cpp Wed Apr 20 12:32:13 2011 -0500
@@ -85,7 +85,7 @@
void SummaryData::addPoint(double x, double y, double z, int returnNumber)
{
- if (returnNumber <= 0 || returnNumber > s_maxNumReturns)
+ if (returnNumber < 0 || returnNumber > s_maxNumReturns)
throw invalid_point_data("point returnNumber is out of range", 0);
if (m_isFirst)
diff -r cb5d7d50690f -r 6e8f75b35eaf src/drivers/oci/Reader.cpp
--- a/src/drivers/oci/Reader.cpp Wed Apr 20 12:18:42 2011 -0500
+++ b/src/drivers/oci/Reader.cpp Wed Apr 20 12:32:13 2011 -0500
@@ -63,7 +63,7 @@
m_querytype = describeQueryType();
- if (m_querytype == QUERY_SDO_PC_BLK)
+ if (m_querytype == QUERY_BLK_TABLE)
m_block = defineBlock();
else if (m_querytype == QUERY_SDO_PC)
{
More information about the Liblas-commits
mailing list