Skip to content

Commit

Permalink
do not override the journal ivar
Browse files Browse the repository at this point in the history
fixes #546
  • Loading branch information
MarcusDenker committed Dec 13, 2023
1 parent 1b82903 commit ada5f07
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Soil-Core/SoilTransaction.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,7 @@ SoilTransaction >> journalEntriesFor: key inIndex: aSoilIndex startingAt: anInte
entries := OrderedCollection new.
transactionId := anInteger.
[ transactionId > readVersion ] whileTrue: [
journal := (soil journal transactionJournalAt: transactionId).
journal entries do: [ :each |
(soil journal transactionJournalAt: transactionId) entries do: [ :each |
((each class = SoilAddKeyEntry) | (each class = SoilRemoveKeyEntry)) ifTrue: [
(each key = key) ifTrue: [
entries add: each ] ] ].
Expand Down

0 comments on commit ada5f07

Please sign in to comment.