Fix comment in XLogFileInit()
Started by Fujii Masaoabout 6 years ago3 messages
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
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
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