forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit72826fb
committed
Guard against incoming rowcount estimate of NaN in cost_mergejoin().
Although rowcount estimates really ought not be NaN, a bug elsewherecould perhaps result in that, and that would cause Assert failure incost_mergejoin, which I believe to be the explanation for bug #5977 fromAnton Kuznetsov. Seems like a good idea to expend a couple more cyclesto prevent that, even though the real bug is elsewhere. Not back-patching,though, because we don't encourage running production systems withAsserts on.1 parentd5a7bf8 commit72826fb
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1704 | 1704 |
| |
1705 | 1705 |
| |
1706 | 1706 |
| |
1707 |
| - | |
1708 |
| - | |
| 1707 | + | |
| 1708 | + | |
1709 | 1709 |
| |
1710 |
| - | |
| 1710 | + | |
1711 | 1711 |
| |
1712 | 1712 |
| |
1713 | 1713 |
| |
|
0 commit comments
Comments
(0)