- Notifications
You must be signed in to change notification settings - Fork5
Commiteea4976
committed
Fix an old problem in decompilation of CASE constructs: the ruleutils.c code
looks for a CaseTestExpr to figure out what the parser did, but it failed toconsider the possibility that an implicit coercion might be inserted abovethe CaseTestExpr. This could result in an Assert failure in some cases(but correct results if Asserts weren't enabled), or an "unexpected CASE WHENclause" error in other cases. Per report from Alan Li.Back-patch to 8.1; problem doesn't exist before that because CASE wasimplemented differently.1 parent59a64e3 commiteea4976
1 file changed
+14
-9
lines changedLines changed: 14 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
4575 | 4575 |
| |
4576 | 4576 |
| |
4577 | 4577 |
| |
4578 |
| - | |
| 4578 | + | |
| 4579 | + | |
| 4580 | + | |
4579 | 4581 |
| |
4580 | 4582 |
| |
4581 | 4583 |
| |
| 4584 | + | |
| 4585 | + | |
4582 | 4586 |
| |
4583 | 4587 |
| |
4584 |
| - | |
4585 |
| - | |
4586 |
| - | |
4587 |
| - | |
4588 |
| - | |
| 4588 | + | |
| 4589 | + | |
| 4590 | + | |
| 4591 | + | |
| 4592 | + | |
4589 | 4593 |
| |
4590 | 4594 |
| |
4591 |
| - | |
| 4595 | + | |
| 4596 | + | |
4592 | 4597 |
| |
4593 | 4598 |
| |
4594 | 4599 |
| |
4595 |
| - | |
| 4600 | + | |
4596 | 4601 |
| |
4597 | 4602 |
| |
4598 | 4603 |
| |
|
0 commit comments
Comments
(0)