mirror of
https://github.com/taigrr/bitcask
synced 2025-01-18 04:03:17 -08:00
don't allow empty keys (#151)
* bitcask: don't allow empty keys Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com> * go mod tidy Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
This commit is contained in:
@@ -19,8 +19,6 @@ const (
|
||||
var (
|
||||
errReadonly = errors.New("error: read only datafile")
|
||||
errReadError = errors.New("error: read error")
|
||||
|
||||
mxMemPool sync.RWMutex
|
||||
)
|
||||
|
||||
// Datafile is an interface that represents a readable and writeable datafile
|
||||
|
||||
Reference in New Issue
Block a user