• gshchepa/uchum@gleb.loc's avatar
    Fixed bug #28716. · 83983221
    gshchepa/uchum@gleb.loc authored
    The result of the CHECK OPTION condition evaluation over an
    updated record and records of merged tables was arbitrary and
    dependant on the order of records in the merged tables during
    the execution of SELECT statement.
    
    The CHECK OPTION expression was evaluated over expired record
    buffers (with arbitrary data in the fields).
    
    Rowids of tables used in the CHECK OPTION expression were
    added to temporary table rows. The multi_update::do_updates()
    method was modified to restore necessary record buffers
    before evaluation of the CHECK OPTION condition.
    83983221
sql_update.cc 48.7 KB