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