aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/transaction.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/transaction.hxx')
-rw-r--r--odb/sqlite/transaction.hxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/odb/sqlite/transaction.hxx b/odb/sqlite/transaction.hxx
index b30a818..dbf73ab 100644
--- a/odb/sqlite/transaction.hxx
+++ b/odb/sqlite/transaction.hxx
@@ -12,6 +12,7 @@
#include <odb/sqlite/version.hxx>
#include <odb/sqlite/forward.hxx>
+#include <odb/sqlite/tracer.hxx>
#include <odb/sqlite/details/export.hxx>
namespace odb
@@ -50,6 +51,25 @@ namespace odb
static void
current (transaction&);
+ // SQL statement tracing.
+ //
+ public:
+ typedef sqlite::tracer tracer_type;
+
+ void
+ tracer (tracer_type& t)
+ {
+ odb::transaction::tracer (t);
+ }
+
+ void
+ tracer (tracer_type* t)
+ {
+ odb::transaction::tracer (t);
+ }
+
+ using odb::transaction::tracer;
+
public:
transaction_impl&
implementation ();