summaryrefslogtreecommitdiff
path: root/sql/transaction.h
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2016-05-30 21:22:50 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2016-08-31 17:17:46 +0200
commit0ee3e64c55664332e8e92eda55b43692159fe4fe (patch)
treeb12a876260d383a9ded16593bda2edcc668cbf7c /sql/transaction.h
parentc8948b0d0db4c182a744bc8bdbde7cbccff3d57d (diff)
downloadmariadb-git-0ee3e64c55664332e8e92eda55b43692159fe4fe.tar.gz
MDEV-8931: (server part of) session state tracking
Transaction tracker
Diffstat (limited to 'sql/transaction.h')
-rw-r--r--sql/transaction.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/transaction.h b/sql/transaction.h
index 54b25f1de2a..040f1a453cd 100644
--- a/sql/transaction.h
+++ b/sql/transaction.h
@@ -44,4 +44,10 @@ bool trans_xa_prepare(THD *thd);
bool trans_xa_commit(THD *thd);
bool trans_xa_rollback(THD *thd);
+#ifndef EMBEDDED_LIBRARY
+void trans_reset_one_shot_chistics(THD *thd);
+#else
+#define trans_reset_one_shot_chistics(A) do{}while(0)
+#endif //EMBEDDED_LIBRARY
+
#endif /* TRANSACTION_H */