diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2009-12-22 02:39:46 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2009-12-22 02:39:46 +0000 |
commit | 8c625cfd2cfe8c76e1598daad488939a93d5eb04 (patch) | |
tree | 93b12b935ed3a035f30294431bd358b85d4e5629 /src/java/com/healthmarketscience/jackcess/IndexPageCache.java | |
parent | 7556fa9a1600a1b1de1aed4fe4524d55b20236f3 (diff) | |
download | jackcess-8c625cfd2cfe8c76e1598daad488939a93d5eb04.tar.gz jackcess-8c625cfd2cfe8c76e1598daad488939a93d5eb04.zip |
add support for index owned pages usage maps
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@422 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/java/com/healthmarketscience/jackcess/IndexPageCache.java')
-rw-r--r-- | src/java/com/healthmarketscience/jackcess/IndexPageCache.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/IndexPageCache.java b/src/java/com/healthmarketscience/jackcess/IndexPageCache.java index b9940ab..6f9b6a7 100644 --- a/src/java/com/healthmarketscience/jackcess/IndexPageCache.java +++ b/src/java/com/healthmarketscience/jackcess/IndexPageCache.java @@ -741,6 +741,9 @@ public class IndexPageCache // add to our page cache _dataPages.put(dpMain._pageNumber, dpMain); + // update owned pages cache + _index.addOwnedPage(dpMain._pageNumber); + // needs to be written out CacheDataPage cacheDataPage = new CacheDataPage(dpMain, dpExtra); setModified(cacheDataPage); |