summaryrefslogtreecommitdiff
path: root/sql/transaction.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-02-27 16:00:43 +0100
committerSergei Golubchik <serg@mariadb.org>2020-03-10 19:24:23 +0100
commitcbede21d0d27b069a7d1077524e187cc7556ffee (patch)
tree21997b21f35e00e90cf02a8b9fc9b0f995b38b5f /sql/transaction.cc
parent211421d5cc999226e2badca28497f3caed06aee6 (diff)
downloadmariadb-git-cbede21d0d27b069a7d1077524e187cc7556ffee.tar.gz
cleanup: pass trxid by value
Diffstat (limited to 'sql/transaction.cc')
-rw-r--r--sql/transaction.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/transaction.cc b/sql/transaction.cc
index 5138b275673..f5258abb751 100644
--- a/sql/transaction.cc
+++ b/sql/transaction.cc
@@ -223,7 +223,7 @@ bool trans_begin(THD *thd, uint flags)
if (thd->m_transaction_psi == NULL)
{
thd->m_transaction_psi= MYSQL_START_TRANSACTION(&thd->m_transaction_state,
- NULL, NULL, thd->tx_isolation,
+ NULL, 0, thd->tx_isolation,
thd->tx_read_only, false);
DEBUG_SYNC(thd, "after_set_transaction_psi_before_set_transaction_gtid");
//gtid_set_performance_schema_values(thd);