Fix comment in XLogFileInit()

Started by Fujii Masaoabout 6 years ago3 messages
#1Fujii Masao
masao.fujii@gmail.com
1 attachment(s)

Hi,

I found that the argument name of XLogFileInit() is wrong in its comment.
Attached is the patch that fixes that typo.

Regards,

--
Fujii Masao

Attachments:

fix_comment_in_xlogfileinit.patchapplication/octet-stream; name=fix_comment_in_xlogfileinit.patchDownload
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index b602e28f61..46d4131899 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -3184,7 +3184,7 @@ XLogNeedsFlush(XLogRecPtr record)
 /*
  * Create a new XLOG file segment, or open a pre-existing one.
  *
- * log, seg: identify segment to be created/opened.
+ * logsegno: identify segment to be created/opened.
  *
  * *use_existent: if true, OK to use a pre-existing file (else, any
  * pre-existing file will be deleted).  On return, true if a pre-existing
#2Amit Kapila
amit.kapila16@gmail.com
In reply to: Fujii Masao (#1)
Re: Fix comment in XLogFileInit()

On Mon, Oct 21, 2019 at 12:28 PM Fujii Masao <masao.fujii@gmail.com> wrote:

I found that the argument name of XLogFileInit() is wrong in its comment.
Attached is the patch that fixes that typo.

LGTM.

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

#3Fujii Masao
masao.fujii@gmail.com
In reply to: Amit Kapila (#2)
Re: Fix comment in XLogFileInit()

On Mon, Oct 21, 2019 at 5:28 PM Amit Kapila <amit.kapila16@gmail.com> wrote:

On Mon, Oct 21, 2019 at 12:28 PM Fujii Masao <masao.fujii@gmail.com> wrote:

I found that the argument name of XLogFileInit() is wrong in its comment.
Attached is the patch that fixes that typo.

LGTM.

Thanks for checking! Committed.

Regards,

--
Fujii Masao