wp
This commit is contained in:
@@ -236,7 +236,7 @@ func appendIndexRecord(in appendIndexRecordIn) []byte {
|
||||
buf = in.Records
|
||||
)
|
||||
if in.RecordsCount > 0 {
|
||||
pos = in.RecordsCount * indexRecordSize
|
||||
pos = in.RecordsCount * IndexRecordSize
|
||||
//fmt.Printf("pos: %d\n", pos)
|
||||
} else {
|
||||
buf = make([]byte, IndexPageSize) // IndexPageIncSize
|
||||
|
||||
Reference in New Issue
Block a user