[PATCH] Tiny optmization or a bug?

Поиск
Список
Период
Сортировка
От Ranier Vilela
Тема [PATCH] Tiny optmization or a bug?
Дата
Msg-id MN2PR18MB2927996E85A27D90CA190EBAE3490@MN2PR18MB2927.namprd18.prod.outlook.com
обсуждение исходный текст
Ответы Re: [PATCH] Tiny optmization or a bug?  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
Hi,
Hi,
Maybe this is a real bug.

The assignment has no effect, or forget dereferencing it?

Best regards.
Ranier Vilela

--- \dll\postgresql-12.0\a\backend\optimizer\plan\initsplan.c    Mon Sep 30 17:06:55 2019
+++ initsplan.c    Fri Nov 22 19:48:42 2019
@@ -1718,7 +1718,7 @@
                     relids =
                         get_relids_in_jointree((Node *) root->parse->jointree,
                                                false);
-                    qualscope = bms_copy(relids);
+                    bms_copy(relids);
                 }
             }
         }

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ranier Vilela
Дата:
Сообщение: RE: [BUG] (firsttupleslot)==NULL is redundant or is possible nulldereference?
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: [BUG] (firsttupleslot)==NULL is redundant or is possible nulldereference?