forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4572d59
committed
Improve style of two code paths
In execGrouping.c, execTuplesMatchPrepare() was doing a memoryallocation that was not necessary when the number of columns was 0.In foreign.c, pg_options_to_table() was assigning twice a variable tothe same value.Author: Ranier VilelaDiscussion:https://postgr.es/m/CAEudQAqup0agbSzMjSLSTn=OANyCzxENF1+HrSYnr3WyZib7=Q@mail.gmail.com1 parenta9ed7d9 commit4572d59
2 files changed
+4
-2
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
65 |
| - | |
| 65 | + | |
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
| 72 | + | |
| 73 | + | |
72 | 74 |
| |
73 | 75 |
| |
74 | 76 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
524 | 524 |
| |
525 | 525 |
| |
526 | 526 |
| |
527 |
| - | |
| 527 | + | |
528 | 528 |
| |
529 | 529 |
| |
530 | 530 |
| |
|
0 commit comments
Comments
(0)