aboutsummaryrefslogtreecommitdiff
path: root/odb/transaction.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/transaction.hxx')
-rw-r--r--odb/transaction.hxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/odb/transaction.hxx b/odb/transaction.hxx
index 0d4f518..e8488a4 100644
--- a/odb/transaction.hxx
+++ b/odb/transaction.hxx
@@ -49,6 +49,7 @@ namespace odb
connection_type&
connection ();
+ public:
// Return true if there is a transaction in effect.
//
static bool
@@ -70,6 +71,20 @@ namespace odb
static void
reset_current ();
+ // SQL statement tracing.
+ //
+ public:
+ typedef odb::tracer tracer_type;
+
+ void
+ tracer (tracer_type&);
+
+ void
+ tracer (tracer_type*);
+
+ tracer_type*
+ tracer () const;
+
public:
transaction_impl&
implementation ();