An overflow of the double variable storing the estimate of the number of rows in a partial join could trigger an assertion failure during the optimization stage.