• Sunny Bains's avatar
    BUG#12739098 - 62401: ASSERTION TRX->ERROR_STATE == DB_SUCCESS, QUE0QUE.C LINE 1264 ON TRUNCATE · 4af45463
    Sunny Bains authored
                
    During FIC error handling the trx->error_state was not being set to DB_SUCCESS
    after failure, before attempting the next DDL SQL operation. This reset to
    DB_SUCCESS is somewhat of a requirement though not explicitly stated anywhere.
    The fix is to reset it to DB_SUCCESS in row0merge.cc if row_merge_rename_indexes
    or row_merge_drop_index functions fail, also reset to DB_SUCCESS at trx commit.
    				          
    rb://935 Approved by Jimmy Yang.
    4af45463
row0merge.c 69.2 KB