• Tatiana A. Nurnberg's avatar
    Bug#40657: assertion with out of range variables and traditional sql_mode · 3b9132fd
    Tatiana A. Nurnberg authored
    In STRICT mode, out-of-bounds values caused an error message
    to be queued (rather than just a warning), without any further
    error-like processing happening. (The error is queued during
    update, at which time it's too late. For it to be processed
    properly, it would need to be queued during check-stage.)
    The assertion rightfully complains that we're trying to send
    an OK while having an error queued.
    
    Changeset breaks a lot of tests out into check-stage. This also
    allows us to send more correct warnings/error messages.
    3b9132fd
set_var.cc 128 KB