From f53327a57b0d815d69a4f0cef8932a2b2d5d83f2 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 28 Feb 2023 21:45:58 +0900 Subject: [PATCH] internal/packing: fix the comment --- internal/packing/packing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/packing/packing.go b/internal/packing/packing.go index 705343ce2..7107f78fc 100644 --- a/internal/packing/packing.go +++ b/internal/packing/packing.go @@ -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 }