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.