bug fix: encode bitmap meta key

This commit is contained in:
wenyekui 2014-08-15 11:32:26 +08:00
parent ed9f1e9ac8
commit 6c9d38fab7
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }