summaryrefslogtreecommitdiffstats
path: root/include/shard/WSS.h
diff options
context:
space:
mode:
authorDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2023-06-09 11:29:58 -0400
committerDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2023-06-09 11:29:58 -0400
commitf73a55cb2c8d8d800a379f9272a5c6b4730587a7 (patch)
treecf132c7ababab37299e6e732ea6f6e6fc87f79f5 /include/shard/WSS.h
parentcd7f2c7bee1c44e9e11ab75d6674ba5d05c6ba84 (diff)
downloaddynamic-extension-f73a55cb2c8d8d800a379f9272a5c6b4730587a7.tar.gz
Fixed bug(s) in tagging-based deletes
Diffstat (limited to 'include/shard/WSS.h')
-rw-r--r--include/shard/WSS.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/shard/WSS.h b/include/shard/WSS.h
index aa6ebf0..15c8b2e 100644
--- a/include/shard/WSS.h
+++ b/include/shard/WSS.h
@@ -106,7 +106,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;
m_total_weight+= base->rec.weight;
weights.push_back(base->rec.weight);