Commit 67effbd
committed
Fix GH-20936: DatePeriod::__set_state() cannot handle null start
The "current" and "end" field also rely on start_ce, which is set by
"start". Therefore, if "current" or "end" are provided, so must "start"
be provided.1 parent 098b1f8 commit 67effbd
2 files changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5811 | 5811 | | |
5812 | 5812 | | |
5813 | 5813 | | |
5814 | | - | |
| 5814 | + | |
5815 | 5815 | | |
5816 | 5816 | | |
5817 | 5817 | | |
| |||
5832 | 5832 | | |
5833 | 5833 | | |
5834 | 5834 | | |
5835 | | - | |
| 5835 | + | |
5836 | 5836 | | |
5837 | 5837 | | |
5838 | 5838 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments