- Notifications
You must be signed in to change notification settings - Fork5
Commitabf293e
committed
Fix the recently-added code that eliminates unnecessary SubqueryScan nodes
from a finished plan tree. We have to copy the output column names(resname fields) from the SubqueryScan down to its child plan node;else, if this is the topmost level of the plan, the wrong column nameswill be delivered to the client. Per bug #2017 reported by Jolly Chen.1 parent902377c commitabf293e
1 file changed
+16
-1
lines changedLines changed: 16 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
359 | 359 |
| |
360 | 360 |
| |
361 | 361 |
| |
| 362 | + | |
| 363 | + | |
362 | 364 |
| |
363 | 365 |
| |
364 | 366 |
| |
| |||
378 | 380 |
| |
379 | 381 |
| |
380 | 382 |
| |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
381 | 396 |
| |
382 | 397 |
| |
383 | 398 |
| |
|
0 commit comments
Comments
(0)