diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2008-03-18 03:14:04 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2008-03-18 03:14:04 +0000 |
commit | 774f1c4cfeec607a8152f122f4186f4a21228e69 (patch) | |
tree | 25648281cd5e59984cf471a7f4c0c2d30b3e525f /src/java/com/healthmarketscience/jackcess/UsageMap.java | |
parent | 3d7b5f9a2a0e42d0e1a0179233dde8f7fe81c401 (diff) | |
download | jackcess-774f1c4cfeec607a8152f122f4186f4a21228e69.tar.gz jackcess-774f1c4cfeec607a8152f122f4186f4a21228e69.zip |
completely fix problems with sporadic usage map corruption; add some soft buffer caching in various places
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@281 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/java/com/healthmarketscience/jackcess/UsageMap.java')
-rw-r--r-- | src/java/com/healthmarketscience/jackcess/UsageMap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/UsageMap.java b/src/java/com/healthmarketscience/jackcess/UsageMap.java index 9484ffb..64656ba 100644 --- a/src/java/com/healthmarketscience/jackcess/UsageMap.java +++ b/src/java/com/healthmarketscience/jackcess/UsageMap.java @@ -711,7 +711,7 @@ public class UsageMap mapPageBuffer.putShort((short) 0); //Unknown int mapPageNum = _mapPageHolder.getPageNumber(); getTableBuffer().putInt(calculateMapPagePointerOffset(pageIndex), - mapPageNum); + mapPageNum); writeTable(); return mapPageBuffer; } |