use rawkey

This commit is contained in:
siddontang 2014-08-15 09:36:00 +08:00
parent c97b09fd0c
commit b1824af7d9
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ func (db *DB) sDelete(t *tx, key []byte) int64 {
var num int64 = 0
it := db.db.RangeLimitIterator(start, stop, store.RangeROpen, 0, -1)
for ; it.Valid(); it.Next() {
t.Delete(it.Key())
t.Delete(it.RawKey())
num++
}