OSDN Git Service

Fix some spelling errors in comments
authorYang Rong <65664302+yang-rong-0814@users.noreply.github.com>
Thu, 21 May 2020 11:38:57 +0000 (19:38 +0800)
committerKyotaro Horiguchi <horikyota.ntt@gmail.com>
Tue, 14 Jul 2020 07:36:34 +0000 (16:36 +0900)
make_join_rel.c

index a1ce9bb..d9321ad 100644 (file)
@@ -160,7 +160,7 @@ make_join_rel(PlannerInfo *root, RelOptInfo *rel1, RelOptInfo *rel2)
                                /*
                                 * If the rows_hint's target relids is not a subset of both of
                                 * component rels and is a subset of this joinrel, ths hint's
-                                * targets spread over both component rels. This menas that
+                                * targets spread over both component rels. This means that
                                 * this hint has been never applied so far and this joinrel is
                                 * the first (and only) chance to fire in current join tree.
                                 * Only the multiplication hint has the cumulative nature so we
@@ -174,7 +174,7 @@ make_join_rel(PlannerInfo *root, RelOptInfo *rel1, RelOptInfo *rel2)
                {
                        /*
                         * If a hint just for me is found, no other adjust method is
-                        * useles, but this cannot be more than twice becuase this joinrel
+                        * useless, but this cannot be more than twice becuase this joinrel
                         * is already adjusted by this hint.
                         */
                        if (justforme->base.state == HINT_STATE_NOTUSED)