From 5b6649e6f7dd256147b48197a007c23001cef647 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 21 Aug 2011 16:27:34 +0200 Subject: Add odb::connection class This abstract class represents a connection to the database. One can use it to start a transaction or to execute a native statement out of a transaction. Before we had concrete connection classes in the database runtime libraries (e.g., odb::mysql::connection). Now these classes derive from odb::connection. --- odb/connection.cxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 odb/connection.cxx (limited to 'odb/connection.cxx') diff --git a/odb/connection.cxx b/odb/connection.cxx new file mode 100644 index 0000000..3779981 --- /dev/null +++ b/odb/connection.cxx @@ -0,0 +1,14 @@ +// file : odb/connection.cxx +// author : Boris Kolpackov +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#include + +namespace odb +{ + connection:: + ~connection () + { + } +} -- cgit v1.1