mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03: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:
@ -526,7 +526,6 @@ void trans_register_ha(THD *thd, bool all, handlerton *ht_arg)
|
||||
|
||||
/*
|
||||
RETURN
|
||||
-1 - cannot prepare
|
||||
0 - ok
|
||||
1 - error, transaction was rolled back
|
||||
*/
|
||||
@ -539,8 +538,6 @@ int ha_prepare(THD *thd)
|
||||
#ifdef USING_TRANSACTIONS
|
||||
if (trans->nht)
|
||||
{
|
||||
if (trans->no_2pc)
|
||||
DBUG_RETURN(-1);
|
||||
for (; *ht; ht++)
|
||||
{
|
||||
int err;
|
||||
|
Reference in New Issue
Block a user