- Notifications
You must be signed in to change notification settings - Fork28
Commit2deef96
committed
After transforming a CASE expr with a default argument,
delete the default argument from the node. This prevents the executorfrom spitting up on the untransformed argument expression. Typicalfailure was:select (case f1 when 'val' then 'subst' else f1 end) from t1;ERROR: copyObject: don't know how to copy 7041 parent38405e1 commit2deef96
1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
345 | 345 |
| |
346 | 346 |
| |
347 | 347 |
| |
348 |
| - | |
349 | 348 |
| |
350 | 349 |
| |
| 350 | + | |
351 | 351 |
| |
352 | 352 |
| |
353 | 353 |
| |
| |||
358 | 358 |
| |
359 | 359 |
| |
360 | 360 |
| |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
361 | 368 |
| |
362 | 369 |
| |
363 | 370 |
| |
364 | 371 |
| |
365 | 372 |
| |
366 | 373 |
| |
367 | 374 |
| |
368 |
| - | |
369 | 375 |
| |
370 | 376 |
| |
| 377 | + | |
371 | 378 |
| |
372 | 379 |
| |
373 | 380 |
| |
|
0 commit comments
Comments
(0)