diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-07-27 08:52:01 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-07-27 08:52:01 +0300 |
commit | cf1fc59856daa4c5730737541126d5492a091722 (patch) | |
tree | 5a845894074aedceed8d71a4381aaab39c700fd3 /client/my_readline.h | |
parent | 0bd9f755b798718dab8e354d39238d5e1457fd39 (diff) | |
download | mariadb-git-cf1fc59856daa4c5730737541126d5492a091722.tar.gz |
MDEV-25594: Improve debug checks
trx_t::will_lock: Changed the type to bool.
trx_t::is_autocommit_non_locking(): Replaces
trx_is_autocommit_non_locking().
trx_is_ac_nl_ro(): Remove (replaced with equivalent assertion expressions).
assert_trx_nonlocking_or_in_list(): Remove.
Replaced with at least as strict checks in each place.
check_trx_state(): Moved to a static function; partially replaced with
individual debug assertions implementing equivalent or stricter checks.
This is a backport of commit 7b51d11cca8898f319ddde5d7048cb81b43fef06
from 10.5.
Diffstat (limited to 'client/my_readline.h')
0 files changed, 0 insertions, 0 deletions