• Jon Olav Hauglid's avatar
    Bug #54734 assert in Diagnostics_area::set_ok_status · 85e5ce0b
    Jon Olav Hauglid authored
    This assert checks that the server does not try to send OK to the
    client if there has been some error during processing. This is done
    to make sure that the error is in fact sent to the client.
    
    The problem was that view errors during processing of WHERE conditions
    in UPDATE statements where not detected by the update code. It therefore
    tried to send OK to the client, triggering the assert.
    The bug was only noticeable in debug builds.
    
    This patch fixes the problem by making sure that the update code
    checks for errors during condition processing and acts accordingly.
    85e5ce0b
opt_range.h 26.6 KB