remove print statement

This commit is contained in:
wenyekui 2014-08-14 19:06:47 +08:00
parent cd44095dbd
commit 729fba1b6a
1 changed files with 0 additions and 7 deletions

View File

@ -41,15 +41,8 @@ func (db *DB) scan(dataType byte, key []byte, count int, inclusive bool) ([][]by
} }
it := db.db.RangeLimitIterator(minKey, maxKey, rangeType, 0, count) it := db.db.RangeLimitIterator(minKey, maxKey, rangeType, 0, count)
if dataType == BitMetaType {
println(minKey[1])
println(maxKey[1])
it = db.db.RangeIterator(minKey, maxKey, rangeType)
}
//println(TypeName[dataType])
for ; it.Valid(); it.Next() { for ; it.Valid(); it.Next() {
println(TypeName[dataType])
if k, err := db.decodeMetaKey(dataType, it.Key()); err != nil { if k, err := db.decodeMetaKey(dataType, it.Key()); err != nil {
continue continue
} else { } else {