Skip to content

Commit

Permalink
Update heap_file.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdiko authored and Valerie Kwek committed Oct 13, 2024
1 parent 30bf280 commit 63bbca8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions godb/heap_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ func (f *HeapFile) Descriptor() *TupleDesc {
// transactions
// You should esnure that Tuples returned by this method have their Rid object
// set appropriate so that [deleteTuple] will work (see additional comments there).
// Make sure to set the returned tuple's TupleDescriptor to the TupleDescriptor of
// the HeapFile. This allows it to correctly capture the table qualifier.
func (f *HeapFile) Iterator(tid TransactionID) (func() (*Tuple, error), error) {
// TODO: some code goes here
pgIndex := 0
Expand Down

0 comments on commit 63bbca8

Please sign in to comment.