mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
sql/ha_innodb.cc
protect prepare-...-commit with a mutex to ensure that commits in binlog and in the innodb have the same order
store binlog position with the commit
This commit is contained in:
parent
f8ed839cd9
commit
99e581ecc1
3 changed files with 32 additions and 16 deletions
|
|
@ -390,8 +390,9 @@ struct trx_struct{
|
|||
dulint table_id; /* table id if the preceding field is
|
||||
TRUE */
|
||||
/*------------------------------*/
|
||||
int active_trans; /* whether a transaction in MySQL
|
||||
is active */
|
||||
int active_trans; /* 1 - if a transaction in MySQL
|
||||
is active. 2 - if prepare_commit_mutex
|
||||
was taken */
|
||||
void* mysql_thd; /* MySQL thread handle corresponding
|
||||
to this trx, or NULL */
|
||||
char** mysql_query_str;/* pointer to the field in mysqld_thd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue