diff options
Diffstat (limited to 'include/shard/MemISAM.h')
| -rw-r--r-- | include/shard/MemISAM.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/shard/MemISAM.h b/include/shard/MemISAM.h index 96c404e..5815fd7 100644 --- a/include/shard/MemISAM.h +++ b/include/shard/MemISAM.h @@ -107,8 +107,11 @@ public: continue; } - //Masking off the ts. - 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; if (m_bf && base->is_tombstone()) { ++m_tombstone_cnt; |