MCPcopy Create free account
hub / github.com/awelm/simpledb / insertTuple

Method insertTuple

src/simpledb/BufferPool.java:153–162  ·  view source on GitHub ↗

Add a tuple to the specified table behalf of transaction tid. Will acquire a write lock on the page the tuple is added to(Lock acquisition is not needed for lab2). May block if the lock cannot be acquired. Marks any pages that were dirtied by the operation as dirty by calling their markDirty bit, a

(TransactionId tid, int tableId, Tuple t)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

readNextMethod · 0.95

Calls 3

getCatalogMethod · 0.95
addTupleMethod · 0.95
getDbFileMethod · 0.45

Tested by

no test coverage detected