mirror of https://github.com/ledisdb/ledisdb.git
bug fix: encode bitmap meta key
This commit is contained in:
parent
872eb99a27
commit
6cd54ec35c
|
@ -121,7 +121,7 @@ func (db *DB) bEncodeMetaKey(key []byte) []byte {
|
|||
mk[0] = db.index
|
||||
mk[1] = BitMetaType
|
||||
|
||||
copy(mk, key)
|
||||
copy(mk[2:], key)
|
||||
return mk
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue