MCPcopy Create free account
hub / github.com/MIT-DB-Class/simple-db-hw / updateParentPointers

Method updateParentPointers

src/java/simpledb/BTreeFile.java:379–391  ·  view source on GitHub ↗

Update the parent pointer of every child of the given page so that it correctly points to the parent @param tid - the transaction id @param dirtypages - the list of dirty pages which should be updated with all new dirty pages @param page - the parent page @see #updateParentPointer(TransactionId, Ha

(TransactionId tid, HashMap<PageId, Page> dirtypages, BTreeInternalPage page)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

updateParentPointerMethod · 0.95
getLeftChildMethod · 0.95
getRightChildMethod · 0.95
iteratorMethod · 0.65
getIdMethod · 0.65
hasNextMethod · 0.65
nextMethod · 0.65

Tested by

no test coverage detected