- Notifications
You must be signed in to change notification settings - Fork5
Commit21fb95d
committed
Use a fresh copy of query_list when making a second plan in GetCachedPlan.
The code path that tried a generic plan, didn't like it, and then made acustom plan was mistakenly passing the same copy of the query_list to theplanner both times. This doesn't work too well for nontrivial queries,since the planner tends to scribble on its input. Diagnosis and fix byYamamoto Takashi.1 parent2a571bc commit21fb95d
1 file changed
+9
-1
lines changedLines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
697 | 697 |
| |
698 | 698 |
| |
699 | 699 |
| |
700 |
| - | |
| 700 | + | |
| 701 | + | |
701 | 702 |
| |
702 | 703 |
| |
703 | 704 |
| |
| |||
980 | 981 |
| |
981 | 982 |
| |
982 | 983 |
| |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
983 | 991 |
| |
984 | 992 |
| |
985 | 993 |
| |
|
0 commit comments
Comments
(0)