From 5e1c112468011649b23c434a73f51c6936f5f929 Mon Sep 17 00:00:00 2001 From: rustfix <155627174+rustfix@users.noreply.github.com> Date: Mon, 15 Apr 2024 20:35:56 +0800 Subject: [PATCH] chore: fix function name in comment (#579) Signed-off-by: rustfix <771054535@qq.com> --- db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.go b/db.go index 0d00168..85256a2 100644 --- a/db.go +++ b/db.go @@ -1305,7 +1305,7 @@ func (db *DB) Checkpoint(ctx context.Context, mode string) (err error) { return db.checkpoint(ctx, generation, mode) } -// checkpointAndInit performs a checkpoint on the WAL file and initializes a +// checkpoint performs a checkpoint on the WAL file and initializes a // new shadow WAL file. func (db *DB) checkpoint(ctx context.Context, generation, mode string) error { // Try getting a checkpoint lock, will fail during snapshots.