Fix a typo in add_partial_path

Started by Amit Langoteover 6 years ago3 messages
#1Amit Langote
amitlangote09@gmail.com
1 attachment(s)

Hi,

Attached patch for:

s/incompable/incompatible/g

Thanks,
Amit

Attachments:

add_partial_path-typo.patchapplication/octet-stream; name=add_partial_path-typo.patchDownload
diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c
index 0ac73984d2..34acb732ee 100644
--- a/src/backend/optimizer/util/pathnode.c
+++ b/src/backend/optimizer/util/pathnode.c
@@ -775,7 +775,7 @@ add_partial_path(RelOptInfo *parent_rel, Path *new_path)
 		/* Compare pathkeys. */
 		keyscmp = compare_pathkeys(new_path->pathkeys, old_path->pathkeys);
 
-		/* Unless pathkeys are incompable, keep just one of the two paths. */
+		/* Unless pathkeys are incompatible, keep just one of the two paths. */
 		if (keyscmp != PATHKEYS_DIFFERENT)
 		{
 			if (new_path->total_cost > old_path->total_cost * STD_FUZZ_FACTOR)
#2Michael Paquier
michael@paquier.xyz
In reply to: Amit Langote (#1)
Re: Fix a typo in add_partial_path

On Tue, Aug 06, 2019 at 05:34:06PM +0900, Amit Langote wrote:

Attached patch for:

s/incompable/incompatible/g

Thanks, applied.
--
Michael

#3Amit Langote
amitlangote09@gmail.com
In reply to: Michael Paquier (#2)
Re: Fix a typo in add_partial_path

On Tue, Aug 6, 2019 at 6:12 PM Michael Paquier <michael@paquier.xyz> wrote:

On Tue, Aug 06, 2019 at 05:34:06PM +0900, Amit Langote wrote:

Attached patch for:

s/incompable/incompatible/g

Thanks, applied.

Thank you Michael.

Regards,
Amit