[Liblas-commits] hg-main-tree: fix off-by-one error in binding
column position of...
liblas-commits at liblas.org
liblas-commits at liblas.org
Sun Apr 10 15:45:17 EDT 2011
details: http://hg.libpc.orghg-main-tree/rev/0ccb18a1f492
changeset: 515:0ccb18a1f492
user: Howard Butler <hobu.inc at gmail.com>
date: Sun Apr 10 14:45:12 2011 -0500
description:
fix off-by-one error in binding column position of writer
diffstat:
src/drivers/oci/Writer.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r d546f75a96d5 -r 0ccb18a1f492 src/drivers/oci/Writer.cpp
--- a/src/drivers/oci/Writer.cpp Fri Apr 08 16:30:52 2011 -0500
+++ b/src/drivers/oci/Writer.cpp Sun Apr 10 14:45:12 2011 -0500
@@ -463,10 +463,10 @@
values << "pc";
}
- int nPos = 1; // Bind column position
+ int nPos = 2; // Bind column position
if (!header_blob_column_name.empty()){
columns << "," << header_blob_column_name;
- values <<", :" << nPos++;
+ values <<", :" << nPos;
}
if (!base_table_boundary_column.empty()){
More information about the Liblas-commits
mailing list