diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2015-03-17 19:49:04 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2015-03-17 19:49:04 +0400 |
commit | 93e746afb2d1a23cb933291ad736a20858b5ac3e (patch) | |
tree | 261ec67df4329e6a7e6a62dfdf9e70887709ba24 /sql/sql_class.h | |
parent | ccc7297fe94af1129c717f91d31fa075d54a0371 (diff) | |
download | mariadb-git-bb-mdev7793.tar.gz |
MDEV-7793 - Race condition between XA COMMIT/ROLLBACK and disconnectbb-mdev7793
XA COMMIT/ROLLBACK of XA transaction owned by different thread may access
freed memory if that thread disconnects at the same time.
Also concurrent XA COMMIT/ROLLBACK of recovered XA transaction were not
serialized properly.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 44e4be74695..9d303eff03e 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -1130,7 +1130,6 @@ typedef struct st_xid_state { /* For now, this is only used to catch duplicated external xids */ XID xid; // transaction identifier enum xa_states xa_state; // used by external XA only - bool in_thd; /* Error reported by the Resource Manager (RM) to the Transaction Manager. */ uint rm_error; XID_cache_element *xid_cache_element; |