Commit 5a31cd5
Fix INTERVAL parsing to stop before AND operators (#120)
Use AND_PREC instead of ALIAS_PREC when parsing INTERVAL values to prevent
consuming subsequent AND expressions as part of the interval.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 8bd61bf commit 5a31cd5
2 files changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1716 | 1716 | | |
1717 | 1717 | | |
1718 | 1718 | | |
1719 | | - | |
1720 | | - | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
1721 | 1722 | | |
1722 | 1723 | | |
1723 | 1724 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
0 commit comments