diff options
Diffstat (limited to 'include/shard/TrieSpline.h')
| -rw-r--r-- | include/shard/TrieSpline.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/shard/TrieSpline.h b/include/shard/TrieSpline.h index 2341751..349f41a 100644 --- a/include/shard/TrieSpline.h +++ b/include/shard/TrieSpline.h @@ -106,7 +106,11 @@ public: m_min_key = base->rec.key; } - 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; bldr.AddKey(base->rec.key); |