summaryrefslogtreecommitdiffstats
path: root/src/java/com/healthmarketscience/jackcess/IndexPageCache.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/healthmarketscience/jackcess/IndexPageCache.java')
-rw-r--r--src/java/com/healthmarketscience/jackcess/IndexPageCache.java3
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);