• Magne Mahre's avatar
    Bug#46374 crash, INSERT INTO t1 uses function, function modifies t1 · cc7239b2
    Magne Mahre authored
                      
    An error occuring in the execution of a stored procedure, called
    from do_select is masked, since the error condition is not
    propagated back to the caller (join->conds->val_int() returns
    a result value, and not an error code)
                      
    An explicit check was added to see if the thd error code has been
    set, and if so, the loop status is set to the error state.
    
    Backport from 6.0-codebase (revid: 2617.68.31)
    cc7239b2
sp-error.result 52.9 KB