Skip to content

Commit b0f0845

Browse files
committed
core: Record change in size after defrag
For JSON type, after defrag size may change. The page usage object carries this change out to a higher call level where the db stats can be updated. Signed-off-by: Abhijat Malviya <[email protected]>
1 parent db178da commit b0f0845

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/page_usage_stats.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ class PageUsage {
9393

9494
// For use in testing, forces reallocate check to always return true
9595
bool force_reallocate_{false};
96+
9697
};
9798

9899
} // namespace dfly

0 commit comments

Comments
 (0)