• Andres Freund's avatar
    Initialize unused ExprEvalStep fields. · fc96c694
    Andres Freund authored
    ExecPushExprSlots didn't initialize ExprEvalStep's resvalue/resnull
    steps as it didn't use them. That caused wrong valgrind warnings for
    an upcoming patch, so zero-intialize.
    
    Also zero-initialize all scratch ExprEvalStep's allocated on the
    stack, to avoid issues with similar future omissions of non-critial
    data.
    fc96c694
execExpr.c 93 KB