Repository navigation
Commit 3515208
authored
fix: parse arithmetic after subqueries in BETWEEN bounds (#2946)
Use the existing arithmetic continuation for parenthesized subqueries in both BETWEEN bounds. Check the reported expressions and their parsed node types.
Refs #29441 parent 702e79b commit 3515208
2 files changed
Lines changed: 49 additions & 8 deletions
File tree
- src
- main/jjtree/net/sf/jsqlparser/parser
- test/java/net/sf/jsqlparser/expression/operators/relational
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1234 | 1234 | | |
1235 | 1235 | | |
1236 | 1236 | | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
1237 | 1243 | | |
1238 | 1244 | | |
1239 | 1245 | | |
| |||
16633 | 16639 | | |
16634 | 16640 | | |
16635 | 16641 | | |
16636 | | - | |
| 16642 | + | |
16637 | 16643 | | |
16638 | 16644 | | |
16639 | 16645 | | |
| |||
16653 | 16659 | | |
16654 | 16660 | | |
16655 | 16661 | | |
16656 | | - | |
| 16662 | + | |
16657 | 16663 | | |
16658 | 16664 | | |
16659 | 16665 | | |
| |||
16680 | 16686 | | |
16681 | 16687 | | |
16682 | 16688 | | |
| 16689 | + | |
| 16690 | + | |
| 16691 | + | |
| 16692 | + | |
| 16693 | + | |
| 16694 | + | |
| 16695 | + | |
| 16696 | + | |
| 16697 | + | |
| 16698 | + | |
16683 | 16699 | | |
16684 | 16700 | | |
16685 | 16701 | | |
| |||
17143 | 17159 | | |
17144 | 17160 | | |
17145 | 17161 | | |
17146 | | - | |
17147 | | - | |
17148 | | - | |
17149 | | - | |
17150 | | - | |
17151 | | - | |
| 17162 | + | |
17152 | 17163 | | |
17153 | 17164 | | |
17154 | 17165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
29 | 59 | | |
30 | 60 | | |
31 | 61 | | |
| |||
0 commit comments