From 439d158a9700ccd94b4c0bdfc34b2eefc0fc6688 Mon Sep 17 00:00:00 2001 From: James Ahlborn Date: Mon, 25 Sep 2006 12:48:56 +0000 Subject: [PATCH] add offset for next leaf page number git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@122 f203690c-595d-4dc9-a70b-905162fa7fd2 --- src/java/com/healthmarketscience/jackcess/JetFormat.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/java/com/healthmarketscience/jackcess/JetFormat.java b/src/java/com/healthmarketscience/jackcess/JetFormat.java index 22b03c8..d4ee261 100644 --- a/src/java/com/healthmarketscience/jackcess/JetFormat.java +++ b/src/java/com/healthmarketscience/jackcess/JetFormat.java @@ -106,6 +106,7 @@ public abstract class JetFormat { public final int OFFSET_FREE_PAGES_USAGE_MAP_DEF; public final int OFFSET_INDEX_ENTRY_MASK; + public final int OFFSET_NEXT_INDEX_LEAF_PAGE; public final int SIZE_INDEX_DEFINITION; public final int SIZE_COLUMN_HEADER; @@ -189,6 +190,7 @@ public abstract class JetFormat { OFFSET_FREE_PAGES_USAGE_MAP_DEF = defineOffsetFreePagesUsageMapDef(); OFFSET_INDEX_ENTRY_MASK = defineOffsetIndexEntryMask(); + OFFSET_NEXT_INDEX_LEAF_PAGE = defineOffsetNextIndexLeafPage(); SIZE_INDEX_DEFINITION = defineSizeIndexDefinition(); SIZE_COLUMN_HEADER = defineSizeColumnHeader(); @@ -251,6 +253,7 @@ public abstract class JetFormat { protected abstract int defineOffsetFreePagesUsageMapDef(); protected abstract int defineOffsetIndexEntryMask(); + protected abstract int defineOffsetNextIndexLeafPage(); protected abstract int defineSizeIndexDefinition(); protected abstract int defineSizeColumnHeader(); @@ -314,6 +317,7 @@ public abstract class JetFormat { protected int defineOffsetFreePagesUsageMapDef() { return 3958; } protected int defineOffsetIndexEntryMask() { return 27; } + protected int defineOffsetNextIndexLeafPage() { return 12; } protected int defineSizeIndexDefinition() { return 12; } protected int defineSizeColumnHeader() { return 25; } -- 2.39.5