• Jan Lindström's avatar
    MDEV-11197: TrxInInnoDB::is_aborted(const trx_t*): Assertion... · f4df8c00
    Jan Lindström authored
    MDEV-11197: TrxInInnoDB::is_aborted(const trx_t*): Assertion `srv_read_only_mode || trx->in_depth > 0' failed
    
    TrxInInnoDB should be constructed to track if a transaction is executing
    inside InnoDB code i.e. it is like a gate between Server and InnoDB
    ::rnd_next() is called from Server and thus construct TrxInInnoDB
    also there.
    
    Applied suggested clean-up to TrxInInnoDB class functions enter()
    and exit(). Note that exactly original did not work for enter().
    f4df8c00
trx0trx.h 51.4 KB