summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-connection.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-01-01 15:51:09 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-01-01 15:51:09 +0000
commitbfad644e448077931e27814be9dfa6891db8619a (patch)
tree5b9c3e8f647793a8e9d055d9b35c47be3b2369af /libsqlitepp/sqlite-connection.cpp
parentDo lots more work with compile time formatter instead runtime formatters (diff)
downloadlibdbpp-sqlite-bfad644e448077931e27814be9dfa6891db8619a.tar.bz2
libdbpp-sqlite-bfad644e448077931e27814be9dfa6891db8619a.tar.xz
libdbpp-sqlite-bfad644e448077931e27814be9dfa6891db8619a.zip
Register mock db implementations
Diffstat (limited to 'libsqlitepp/sqlite-connection.cpp')
-rw-r--r--libsqlitepp/sqlite-connection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsqlitepp/sqlite-connection.cpp b/libsqlitepp/sqlite-connection.cpp
index 6545918..40f0304 100644
--- a/libsqlitepp/sqlite-connection.cpp
+++ b/libsqlitepp/sqlite-connection.cpp
@@ -3,6 +3,8 @@
#include "sqlite-selectcommand.h"
#include "sqlite-modifycommand.h"
+NAMEDFACTORY("sqlite", SQLite::Connection, DB::ConnectionFactory);
+
SQLite::ConnectionError::ConnectionError(sqlite3 * db) :
SQLite::Error(db)
{