summaryrefslogtreecommitdiff
path: root/storage/federatedx
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-02-14 16:38:49 +0100
committerSergei Golubchik <serg@mariadb.org>2020-03-10 19:24:23 +0100
commit81cffda2e68ea5a155b74f24ae4345388afa963c (patch)
tree88db66d38c14d28ea1bf9b2600e1c0c60eee8ec2 /storage/federatedx
parent6ded554fc27578f94b08c7d0443ba767fc55bcec (diff)
downloadmariadb-git-81cffda2e68ea5a155b74f24ae4345388afa963c.tar.gz
perfschema transaction instrumentation related changes
Diffstat (limited to 'storage/federatedx')
-rw-r--r--storage/federatedx/ha_federatedx.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/federatedx/ha_federatedx.cc b/storage/federatedx/ha_federatedx.cc
index b042fa720dc..81f6ee99f82 100644
--- a/storage/federatedx/ha_federatedx.cc
+++ b/storage/federatedx/ha_federatedx.cc
@@ -3492,7 +3492,7 @@ int ha_federatedx::start_stmt(MYSQL_THD thd, thr_lock_type lock_type)
if (!txn->in_transaction())
{
txn->stmt_begin();
- trans_register_ha(thd, FALSE, ht);
+ trans_register_ha(thd, FALSE, ht, NULL);
}
DBUG_RETURN(0);
}
@@ -3515,12 +3515,12 @@ int ha_federatedx::external_lock(MYSQL_THD thd, int lock_type)
if (!thd_test_options(thd, (OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN)))
{
txn->stmt_begin();
- trans_register_ha(thd, FALSE, ht);
+ trans_register_ha(thd, FALSE, ht, NULL);
}
else
{
txn->txn_begin();
- trans_register_ha(thd, TRUE, ht);
+ trans_register_ha(thd, TRUE, ht, NULL);
}
}
}
@@ -3538,7 +3538,7 @@ int ha_federatedx::savepoint_set(handlerton *hton, MYSQL_THD thd, void *sv)
if (txn && txn->has_connections())
{
if (txn->txn_begin())
- trans_register_ha(thd, TRUE, hton);
+ trans_register_ha(thd, TRUE, hton, NULL);
txn->sp_acquire((ulong *) sv);