Commit ee9bdcf7 authored by Nirbhay Choubey's avatar Nirbhay Choubey

Binlog SE doesn't implement abort_transaction(), so skip warning.

parent e2041167
......@@ -6026,9 +6026,17 @@ int ha_abort_transaction(THD *bf_thd, THD *victim_thd, my_bool signal)
{
handlerton *hton= ha_info->ht();
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
{
hton->abort_transaction(hton, bf_thd, victim_thd, signal);
}
ha_info_next= ha_info->next();
}
DBUG_RETURN(0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment