summaryrefslogtreecommitdiff
path: root/libodbcpp/connection.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-24 03:04:15 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-24 03:06:07 +0100
commit274adf39c78bf9050ed34815a3472e9e418dd165 (patch)
tree4f45327778fefee7ceb849def04c3fdd66a7b297 /libodbcpp/connection.cpp
parentConnector compatibility fix (diff)
downloadlibdbpp-odbc-274adf39c78bf9050ed34815a3472e9e418dd165.tar.bz2
libdbpp-odbc-274adf39c78bf9050ed34815a3472e9e418dd165.tar.xz
libdbpp-odbc-274adf39c78bf9050ed34815a3472e9e418dd165.zip
ODBC mocking and tests from Project2
Diffstat (limited to 'libodbcpp/connection.cpp')
-rw-r--r--libodbcpp/connection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libodbcpp/connection.cpp b/libodbcpp/connection.cpp
index 29a716c..7e71b94 100644
--- a/libodbcpp/connection.cpp
+++ b/libodbcpp/connection.cpp
@@ -8,6 +8,8 @@
#include "modifycommand.h"
#include "error.h"
+NAMEDFACTORY("odbc", ODBC::Connection, DB::ConnectionFactory);
+
ODBC::Connection::Connection(const DSN& d) :
env(0),
conn(0),