Fix a typo in predicate.c
Started by Masahiko Sawadaover 8 years ago2 messages
Hi,
While reading predicate lock source code, I found a comment typo in
predicate.c file.
Attached patch fixes it.
s/scrach/scratch/
Regards,
--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
Attachments:
fix_typo_in_predicate_c.patchapplication/octet-stream; name=fix_typo_in_predicate_c.patchDownload
diff --git a/src/backend/storage/lmgr/predicate.c b/src/backend/storage/lmgr/predicate.c
index a3f0b8a..27c4af9 100644
--- a/src/backend/storage/lmgr/predicate.c
+++ b/src/backend/storage/lmgr/predicate.c
@@ -2841,7 +2841,7 @@ exit:
/* We shouldn't run out of memory if we're moving locks */
Assert(!outOfShmem);
- /* Put the scrach entry back */
+ /* Put the scratch entry back */
RestoreScratchTarget(false);
}
Re: Fix a typo in predicate.c
On Fri, Jun 2, 2017 at 7:32 AM, Masahiko Sawada <sawada.mshk@gmail.com>
wrote:
Hi,
While reading predicate lock source code, I found a comment typo in
predicate.c file.
Attached patch fixes it.s/scrach/scratch/
Applied, thanks.
--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>