Commit 7445b0f
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.
Closes GH-20939.1 parent b8fc6bd commit 7445b0f
3 files changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
| 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