wp
This commit is contained in:
@@ -9,7 +9,7 @@ var (
|
||||
// data page
|
||||
DataPageSize = 8192
|
||||
|
||||
DataPagePayloadSize int = DataPageSize - DataPageFooterSize
|
||||
DataPagePayloadSize = DataPageSize - DataPageFooterSize
|
||||
|
||||
dataCRC32Idx = DataPageSize - 4
|
||||
timestampsSizeIdx = DataPageSize - 6
|
||||
@@ -19,6 +19,7 @@ var (
|
||||
// index page
|
||||
IndexPageSize = 1024
|
||||
|
||||
IndexPagePayloadSize = IndexPageSize - IndexPageFooterSize
|
||||
//indexPageIncSize = IndexPageIncSize
|
||||
indexCRC32Idx = IndexPageSize - 4
|
||||
indexRecordsCountIdx = IndexPageSize - 6
|
||||
@@ -28,7 +29,6 @@ var (
|
||||
|
||||
// timestampSize = 4
|
||||
// pairSize = timestampSize + PageNoSize
|
||||
// indexFooterIdx = indexRecordsQtyIdx
|
||||
// dataFooterIdx = timestampsSizeIdx
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user