Binlog SE doesn't implement abort_transaction(), so skip warning.
This commit is contained in:
parent
e204116734
commit
ee9bdcf79a
@ -6026,9 +6026,17 @@ int ha_abort_transaction(THD *bf_thd, THD *victim_thd, my_bool signal)
|
|||||||
{
|
{
|
||||||
handlerton *hton= ha_info->ht();
|
handlerton *hton= ha_info->ht();
|
||||||
if (!hton->abort_transaction)
|
if (!hton->abort_transaction)
|
||||||
WSREP_WARN("cannot abort transaction");
|
{
|
||||||
|
/* Skip warning for binlog SE */
|
||||||
|
if (hton->db_type != DB_TYPE_BINLOG)
|
||||||
|
{
|
||||||
|
WSREP_WARN("Cannot abort transaction.");
|
||||||
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
hton->abort_transaction(hton, bf_thd, victim_thd, signal);
|
hton->abort_transaction(hton, bf_thd, victim_thd, signal);
|
||||||
|
}
|
||||||
ha_info_next= ha_info->next();
|
ha_info_next= ha_info->next();
|
||||||
}
|
}
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user