summaryrefslogtreecommitdiffstats
path: root/include/shard/PGM.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shard/PGM.h')
-rw-r--r--include/shard/PGM.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/shard/PGM.h b/include/shard/PGM.h
index 8b0bd69..3d680e7 100644
--- a/include/shard/PGM.h
+++ b/include/shard/PGM.h
@@ -95,7 +95,11 @@ public:
continue;
}
- base->header &= 1;
+ // FIXME: this shouldn't be necessary, but the tagged record
+ // bypass doesn't seem to be working on this code-path, so this
+ // ensures that tagged records from the buffer are able to be
+ // dropped, eventually. It should only need to be &= 1
+ base->header &= 3;
m_data[m_reccnt++] = *base;
keys.emplace_back(base->rec.key);