summaryrefslogtreecommitdiff
path: root/storage/innobase/os
diff options
context:
space:
mode:
authorSunny Bains <Sunny.Bains@Oracle.Com>2010-10-21 22:22:27 +1100
committerSunny Bains <Sunny.Bains@Oracle.Com>2010-10-21 22:22:27 +1100
commit38f54271922aaec6e47a589fdf6d0388197c8928 (patch)
tree1848a3def3d8202f490bd7598fa14d2d32c2de39 /storage/innobase/os
parentd1a349325c42fd633f3f55054f47685f2087453d (diff)
downloadmariadb-git-38f54271922aaec6e47a589fdf6d0388197c8928.tar.gz
Bug #57243 Inconsistent use of trans_register_ha() API in InnoDB
Remove trx_t::active_trans. Split into two separate fields with distinct responsibilities. trx_t::is_registered and trx_t::owns_prepare_mutex. There are wrapper functions for using this fields in ha_innodb.cc. The wrapper functions check for invariants. Fix some formatting to conform to InnoDB guidelines. Remove innobase_register_stmt() and innobase_register_trx_and_stmt(). Add: trx_is_started() trx_deregister_from_2pc() trx_register_for_2pc() trx_is_registered_for_2pc() trx_owns_prepare_commit_mutex_set() trx_has_prepare_commit_mutex() rb://479, Approved by Jimmy Yang.
Diffstat (limited to 'storage/innobase/os')
0 files changed, 0 insertions, 0 deletions