diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-24 19:01:49 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-24 19:01:49 +0300 |
commit | ba80b1f8c8354103bb98d31e252c64254f288273 (patch) | |
tree | 6e0fe6e82a58ee0fa4f9817dfc764ac5285a2368 /libodb-sqlite/odb/sqlite/tracer.cxx | |
parent | b650caf5661dec901eae39e374c2c2ebd625d152 (diff) | |
parent | e5d0186db99492a139237067bab841a5b83463af (diff) |
Merge branch 'libodb-sqlite' into multi-package
Diffstat (limited to 'libodb-sqlite/odb/sqlite/tracer.cxx')
-rw-r--r-- | libodb-sqlite/odb/sqlite/tracer.cxx | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/libodb-sqlite/odb/sqlite/tracer.cxx b/libodb-sqlite/odb/sqlite/tracer.cxx new file mode 100644 index 0000000..49f6b00 --- /dev/null +++ b/libodb-sqlite/odb/sqlite/tracer.cxx @@ -0,0 +1,60 @@ +// file : odb/sqlite/tracer.cxx +// license : GNU GPL v2; see accompanying LICENSE file + +#include <odb/sqlite/tracer.hxx> +#include <odb/sqlite/connection.hxx> +#include <odb/sqlite/statement.hxx> + +namespace odb +{ + namespace sqlite + { + tracer:: + ~tracer () + { + } + + void tracer:: + prepare (connection&, const statement&) + { + } + + void tracer:: + execute (connection& c, const statement& s) + { + execute (c, s.text ()); + } + + void tracer:: + deallocate (connection&, const statement&) + { + } + + void tracer:: + prepare (odb::connection& c, const odb::statement& s) + { + prepare (static_cast<connection&> (c), + static_cast<const statement&> (s)); + } + + void tracer:: + execute (odb::connection& c, const odb::statement& s) + { + execute (static_cast<connection&> (c), + static_cast<const statement&> (s)); + } + + void tracer:: + execute (odb::connection& c, const char* s) + { + execute (static_cast<connection&> (c), s); + } + + void tracer:: + deallocate (odb::connection& c, const odb::statement& s) + { + deallocate (static_cast<connection&> (c), + static_cast<const statement&> (s)); + } + } +} |