- Notifications
You must be signed in to change notification settings - Fork5
Commitff68b25
committed
Remove troublesome Asserts in cost_mergejoin().
While logically correct, these two Asserts could fail depending on thevagaries of floating-point arithmetic. In particular, on machines withfloating-point registers wider than standard "double" values, it waspossible for the compiler to compare a rounded-to-double value alreadystored in memory with an unrounded long double value still in a register.Given the preceding checks, these assertions aren't adding much, so let'sjust get rid of them rather than try to find a compiler-proof fix.Per report from Pavel Stehule.Given the lack of previous complaints, and the fact that only developerswould be likely to trip over it, I'm only going to change this in HEAD,even though the code has been like this for a long time.1 parent89e850e commitff68b25
1 file changed
+0
-3
lines changedLines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1933 | 1933 |
| |
1934 | 1934 |
| |
1935 | 1935 |
| |
1936 |
| - | |
1937 |
| - | |
1938 |
| - | |
1939 | 1936 |
| |
1940 | 1937 |
| |
1941 | 1938 |
| |
|
0 commit comments
Comments
(0)