forked from mirror/ledisdb
remove print statement
This commit is contained in:
parent
cd44095dbd
commit
729fba1b6a
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue