diff --git a/index/firestorm/internal.go b/index/firestorm/internal.go index 21239ce6..8b7aa7ad 100644 --- a/index/firestorm/internal.go +++ b/index/firestorm/internal.go @@ -9,7 +9,9 @@ package firestorm -var InternalKeyPrefix = []byte{'d'} +import "fmt" + +var InternalKeyPrefix = []byte{'i'} type InternalRow struct { key []byte @@ -59,3 +61,7 @@ func (ir *InternalRow) ValueTo(buf []byte) (int, error) { func (ir *InternalRow) Value() []byte { return ir.val } + +func (ir *InternalRow) String() string { + return fmt.Sprintf("InternalStore - Key: %s (% x) Val: %s (% x)", ir.key, ir.key, ir.val, ir.val) +}