• Guilhem Bichot's avatar
    During Maria's checkpoint, use the proper mutex to read transaction's short_id · 8d96bcda
    Guilhem Bichot authored
    storage/maria/trnman.c:
      During Maria's checkpoint, we walk the list of active transactions; in this list we may find a transaction with a short_id of 0 which means "uninitialized" (is being created right now) and want to ignore this transaction. Such short_id is set under trn->state_lock, so use this mutex to reliably read short_id during checkpoint.
    8d96bcda
trnman.c 26 KB