Commit bda97e4
committed
Avoid compiler warning in non-assert builds.
After 3c90dcd, try_partitionwise_join's child_joinrelids
variable is read only in an Assert, provoking a compiler
warning in non-assert builds. Rearrange code to avoid the
warning and eliminate unnecessary work in the non-assert case.
Per CI testing (via Jeff Davis and Bharath Rupireddy)
Discussion: https://postgr.es/m/ef0de9713e605451f1b60b30648c5ee900b2394c.camel@j-davis.com1 parent 702d003 commit bda97e4
1 file changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1543 | 1543 | | |
1544 | 1544 | | |
1545 | 1545 | | |
1546 | | - | |
1547 | 1546 | | |
1548 | 1547 | | |
1549 | 1548 | | |
| |||
1646 | 1645 | | |
1647 | 1646 | | |
1648 | 1647 | | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | 1648 | | |
1654 | 1649 | | |
1655 | 1650 | | |
| |||
1658 | 1653 | | |
1659 | 1654 | | |
1660 | 1655 | | |
1661 | | - | |
1662 | 1656 | | |
| 1657 | + | |
1663 | 1658 | | |
1664 | 1659 | | |
1665 | 1660 | | |
| |||
1672 | 1667 | | |
1673 | 1668 | | |
1674 | 1669 | | |
1675 | | - | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
1676 | 1674 | | |
| 1675 | + | |
1677 | 1676 | | |
1678 | 1677 | | |
1679 | 1678 | | |
| 1679 | + | |
| 1680 | + | |
1680 | 1681 | | |
1681 | 1682 | | |
1682 | 1683 | | |
| |||
0 commit comments