diff options
Diffstat (limited to 'odb/oracle/database.hxx')
-rw-r--r-- | odb/oracle/database.hxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/odb/oracle/database.hxx b/odb/oracle/database.hxx index 80b6fba..232b320 100644 --- a/odb/oracle/database.hxx +++ b/odb/oracle/database.hxx @@ -18,6 +18,7 @@ #include <odb/oracle/version.hxx> #include <odb/oracle/forward.hxx> +#include <odb/oracle/tracer.hxx> #include <odb/oracle/connection.hxx> #include <odb/oracle/connection-factory.hxx> #include <odb/oracle/auto-handle.hxx> @@ -145,6 +146,25 @@ namespace odb return environment_; } + // SQL statement tracing. + // + public: + typedef oracle::tracer tracer_type; + + void + tracer (tracer_type& t) + { + odb::database::tracer (t); + } + + void + tracer (tracer_type* t) + { + odb::database::tracer (t); + } + + using odb::database::tracer; + public: virtual ~database (); |