Skip to content

Commit

Permalink
don't write the same point over and over in point-major scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Oct 3, 2014
1 parent 6d459a2 commit 0c2d2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/oci/OciSeqIterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ point_count_t OciSeqIterator::readPointMajor(PointBuffer& buffer,
continue;
}
char *pos = block->data() +
(block->numRead() * block->schema->getByteSize()) +
((block->numRead()+numRead) * block->schema->getByteSize()) +
source_d->getByteOffset();

buffer.setRawField(*m_dims[d], nextId, pos);
Expand Down

0 comments on commit 0c2d2be

Please sign in to comment.