aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/connection.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/oracle/connection.hxx')
-rw-r--r--odb/oracle/connection.hxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/odb/oracle/connection.hxx b/odb/oracle/connection.hxx
index 12add74..56ac6b9 100644
--- a/odb/oracle/connection.hxx
+++ b/odb/oracle/connection.hxx
@@ -19,6 +19,7 @@
#include <odb/oracle/version.hxx>
#include <odb/oracle/forward.hxx>
+#include <odb/oracle/tracer.hxx>
#include <odb/oracle/transaction-impl.hxx>
#include <odb/oracle/auto-handle.hxx>
#include <odb/oracle/oracle-fwd.hxx>
@@ -63,6 +64,25 @@ namespace odb
virtual unsigned long long
execute (const char* statement, std::size_t length);
+ // SQL statement tracing.
+ //
+ public:
+ typedef oracle::tracer tracer_type;
+
+ void
+ tracer (tracer_type& t)
+ {
+ odb::connection::tracer (t);
+ }
+
+ void
+ tracer (tracer_type* t)
+ {
+ odb::connection::tracer (t);
+ }
+
+ using odb::connection::tracer;
+
public:
OCISvcCtx*
handle ()