Commit ad233427 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2850] Update comment to match code

parent 0dccb67c
...@@ -194,8 +194,8 @@ ZoneTableSegmentMapped::openReadWrite(const std::string& filename, ...@@ -194,8 +194,8 @@ ZoneTableSegmentMapped::openReadWrite(const std::string& filename,
void void
ZoneTableSegmentMapped::openReadOnly(const std::string& filename) { ZoneTableSegmentMapped::openReadOnly(const std::string& filename) {
// In case there is a checksum mismatch, we throw. We want the // In case the checksum or table header is missing, we throw. We
// segment to be automatically destroyed then. // want the segment to be automatically destroyed then.
std::auto_ptr<MemorySegmentMapped> segment std::auto_ptr<MemorySegmentMapped> segment
(new MemorySegmentMapped(filename)); (new MemorySegmentMapped(filename));
// There must be a previously saved checksum. // There must be a previously saved checksum.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment