Fix typo in verify_heapam.c

Started by Masahiko Sawadaalmost 5 years ago3 messages
#1Masahiko Sawada
sawada.mshk@gmail.com
1 attachment(s)

Hi all,

I found typos in verify_heapam.c.

s/comitted/committed/

Please find an attached patch.

Regards,

--
Masahiko Sawada
EDB: https://www.enterprisedb.com/

Attachments:

fix_typo.patchapplication/octet-stream; name=fix_typo.patchDownload
diff --git a/contrib/amcheck/verify_heapam.c b/contrib/amcheck/verify_heapam.c
index 3fb709b842..11ace483d0 100644
--- a/contrib/amcheck/verify_heapam.c
+++ b/contrib/amcheck/verify_heapam.c
@@ -777,7 +777,7 @@ check_tuple_visibility(HeapCheckContext *ctx)
 				case XID_COMMITTED:
 					/*
 					 * The tuple is dead, because the xvac transaction moved
-					 * it off and comitted. It's checkable, but also prunable.
+					 * it off and committed. It's checkable, but also prunable.
 					 */
 					return true;
 
@@ -851,7 +851,7 @@ check_tuple_visibility(HeapCheckContext *ctx)
 				case XID_ABORTED:
 					/*
 					 * The tuple is dead, because the xvac transaction moved
-					 * it off and comitted. It's checkable, but also prunable.
+					 * it off and committed. It's checkable, but also prunable.
 					 */
 					return true;
 			}
#2Fujii Masao
masao.fujii@oss.nttdata.com
In reply to: Masahiko Sawada (#1)
Re: Fix typo in verify_heapam.c

On 2021/04/02 15:02, Masahiko Sawada wrote:

Hi all,

I found typos in verify_heapam.c.

s/comitted/committed/

Please find an attached patch.

Thanks for the report and patch! Pushed.

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

#3Masahiko Sawada
sawada.mshk@gmail.com
In reply to: Fujii Masao (#2)
Re: Fix typo in verify_heapam.c

On Fri, Apr 2, 2021 at 4:28 PM Fujii Masao <masao.fujii@oss.nttdata.com> wrote:

On 2021/04/02 15:02, Masahiko Sawada wrote:

Hi all,

I found typos in verify_heapam.c.

s/comitted/committed/

Please find an attached patch.

Thanks for the report and patch! Pushed.

Thank you!

Regards,

--
Masahiko Sawada
EDB: https://www.enterprisedb.com/