Skip to content

Commit

Permalink
internal/packing: fix the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Feb 28, 2023
1 parent 9e0bebd commit f53327a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/packing/packing.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (p *Page) Extend(count int) bool {
p.rollbackExtension = func() {
p.size = origSize
// The node address must not be changed, so use the original root node's pointer (#2584).
// As the root node might be modified, recover the content from the cloned content.
// As the root node might be modified, restore the content by the cloned content.
p.root = origRoot
*p.root = origRootCloned
}
Expand Down

0 comments on commit f53327a

Please sign in to comment.