mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 02:44:59 +00:00
Unexport Row.ClearBit
This commit is contained in:
parent
6b5595d48c
commit
edf87473ee
2 changed files with 3 additions and 3 deletions
|
|
@ -446,7 +446,7 @@ func (f *fragment) unprotectedClearBit(rowID, columnID uint64) (changed bool, er
|
|||
|
||||
// Get the row from cache or fragment.storage.
|
||||
row := f.unprotectedRow(rowID, true, true)
|
||||
row.ClearBit(columnID)
|
||||
row.clearBit(columnID)
|
||||
|
||||
// Update the cache.
|
||||
f.cache.Add(rowID, row.Count())
|
||||
|
|
|
|||
4
row.go
4
row.go
|
|
@ -159,8 +159,8 @@ func (r *Row) SetBit(i uint64) (changed bool) {
|
|||
return r.createSegmentIfNotExists(i / ShardWidth).SetBit(i)
|
||||
}
|
||||
|
||||
// ClearBit clears the i-th column of the row.
|
||||
func (r *Row) ClearBit(i uint64) (changed bool) {
|
||||
// clearBit clears the i-th column of the row.
|
||||
func (r *Row) clearBit(i uint64) (changed bool) {
|
||||
s := r.segment(i / ShardWidth)
|
||||
if s == nil {
|
||||
return false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue