| From: | Ranier Vilela <ranier_gyn(at)hotmail(dot)com> |
|---|---|
| To: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | [PATCH] Tiny optmization or a bug? |
| Date: | 2019-11-22 23:06:53 |
| Message-ID: | MN2PR18MB2927996E85A27D90CA190EBAE3490@MN2PR18MB2927.namprd18.prod.outlook.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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);
}
}
}
| Attachment | Content-Type | Size |
|---|---|---|
| initsplan.c.patch | application/octet-stream | 339 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tomas Vondra | 2019-11-22 23:12:48 | Re: [BUG] (firsttupleslot)==NULL is redundant or is possible null dereference? |
| Previous Message | Ranier Vilela | 2019-11-22 22:57:13 | RE: [BUG] (firsttupleslot)==NULL is redundant or is possible null dereference? |