wp
This commit is contained in:
@@ -24,7 +24,7 @@ var (
|
||||
indexRecordsCountIdx = IndexPageSize - 6
|
||||
isZeroLevelIdx = IndexPageSize - 7
|
||||
|
||||
maxRecordsOnIndexPage = (IndexPageSize - IndexPageFooterSize) / indexRecordSize
|
||||
maxRecordsOnIndexPage = (IndexPageSize - IndexPageFooterSize) / IndexRecordSize
|
||||
|
||||
// timestampSize = 4
|
||||
// pairSize = timestampSize + PageNoSize
|
||||
@@ -35,7 +35,7 @@ var (
|
||||
const (
|
||||
DataPageFooterSize = 12
|
||||
IndexPageFooterSize = 7
|
||||
indexRecordSize = 8
|
||||
IndexRecordSize = 8
|
||||
)
|
||||
|
||||
type IndexRecord struct {
|
||||
|
||||
Reference in New Issue
Block a user