From bcf5fce175953bec0fd2725968828850a74d8539 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 7 Nov 2011 15:00:06 +0200 Subject: Add support for SQL statement tracing --- odb/forward.hxx | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'odb/forward.hxx') diff --git a/odb/forward.hxx b/odb/forward.hxx index b253118..41ed70f 100644 --- a/odb/forward.hxx +++ b/odb/forward.hxx @@ -8,6 +8,7 @@ #include +#include #include namespace odb @@ -16,6 +17,7 @@ namespace odb class connection; typedef details::shared_ptr connection_ptr; class transaction; + class statement; class session; namespace core @@ -24,9 +26,20 @@ namespace odb using odb::connection; using odb::connection_ptr; using odb::transaction; + using odb::statement; using odb::session; } + // Tracing. + // + class tracer; // Not in core. + extern LIBODB_EXPORT tracer& stderr_tracer; + + namespace core + { + using odb::stderr_tracer; + } + // Implementation details. // -- cgit v1.1