// Read a block (set of points) from the database. bool OciReader::readOci(Statement stmt, BlockPtr block) { if (!block->fetched()) { if (!stmt->Fetch()) { m_atEnd = true; return false; } block->setFetched(); } // Read the points from the blob in the row. readBlob(stmt, block); XMLSchema *s = findSchema(stmt, block); updateSchema(*s); MetadataNode comp = s->getMetadata().findChild("compression"); m_compression = (comp.value() == "lazperf"); block->reset(); block->clearFetched(); return true; }