Fix a typo in hash.c

Started by Masahiko Sawadaover 8 years ago2 messages
#1Masahiko Sawada
sawada.mshk@gmail.com
1 attachment(s)

Hi,

Attached patch for $subject.

s/curent/current/

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachments:

fix_typo_in_hash_c.patchapplication/octet-stream; name=fix_typo_in_hash_c.patchDownload
diff --git a/src/backend/access/hash/hash.c b/src/backend/access/hash/hash.c
index df54638..f70e03b 100644
--- a/src/backend/access/hash/hash.c
+++ b/src/backend/access/hash/hash.c
@@ -845,7 +845,7 @@ hashbucketcleanup(Relation rel, Bucket cur_bucket, Buffer bucket_buf,
 				if (bucket != cur_bucket)
 				{
 					/*
-					 * We expect tuples to either belong to curent bucket or
+					 * We expect tuples to either belong to current bucket or
 					 * new_bucket.  This is ensured because we don't allow
 					 * further splits from bucket that contains garbage. See
 					 * comments in _hash_expandtable.
#2Magnus Hagander
magnus@hagander.net
In reply to: Masahiko Sawada (#1)
Re: Fix a typo in hash.c

On Mon, May 22, 2017 at 3:36 AM, Masahiko Sawada <sawada.mshk@gmail.com>
wrote:

Hi,

Attached patch for $subject.

s/curent/current/

Applied, thanks!

//Magnus