internal/packing: fix the comment

This commit is contained in:
Hajime Hoshi 2023-02-28 21:45:58 +09:00
parent 9e0bebda71
commit f53327a57b

View File

@ -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
}