forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita2c1c33

Michael Meskes
Initialize day of year value.
There are cases where the day of year value in struct tm is used, but it nevergot calculated. Problem found by Coverity scan.1 parentd9f37e6 commita2c1c33
File tree
5 files changed
+20
-5
lines changed- src/interfaces/ecpg
- pgtypeslib
- test
- expected
- pgtypeslib
5 files changed
+20
-5
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
255 | 255 |
| |
256 | 256 |
| |
257 | 257 |
| |
| 258 | + | |
| 259 | + | |
258 | 260 |
| |
259 | 261 |
| |
260 | 262 |
| |
|
Lines changed: 10 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
150 | 156 |
| |
151 | 157 |
| |
152 | 158 |
| |
| |||
431 | 437 |
| |
432 | 438 |
| |
433 | 439 |
| |
434 |
| - | |
| 440 | + | |
435 | 441 |
| |
436 | 442 |
| |
437 |
| - | |
| 443 | + | |
438 | 444 |
| |
439 | 445 |
| |
440 |
| - | |
| 446 | + | |
441 | 447 |
| |
442 | 448 |
| |
443 |
| - | |
| 449 | + | |
444 | 450 |
| |
445 | 451 |
| |
446 | 452 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 |
| |
77 | 83 |
| |
78 | 84 |
| |
|
0 commit comments
Comments
(0)