• Marko Mäkelä's avatar
    Work around the crash in MDEV-17814 · a2f2f686
    Marko Mäkelä authored
    Internal transactions may not have trx->mysql_thd.
    But at the same time, trx->duplicates should only hold if
    REPLACE or INSERT...ON DUPLICATE KEY UPDATE was executed from SQL.
    
    The flag feels misplaced. A more appropriate place for it would
    be row_prebuilt_t or similar.
    a2f2f686
sql_class.cc 218 KB