summaryrefslogtreecommitdiff
path: root/libmysqlpp/connection.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-24 03:03:25 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-24 03:06:07 +0100
commit3cf494c3896f903d9e0179c12897ffb6c7cbf4d5 (patch)
tree3e36d5011da0b11277de4f416285bcb9c7880968 /libmysqlpp/connection.cpp
parentConnector compatibility fix (diff)
downloadlibdbpp-mysql-3cf494c3896f903d9e0179c12897ffb6c7cbf4d5.tar.bz2
libdbpp-mysql-3cf494c3896f903d9e0179c12897ffb6c7cbf4d5.tar.xz
libdbpp-mysql-3cf494c3896f903d9e0179c12897ffb6c7cbf4d5.zip
MySQL mocking and tests from Project2
Diffstat (limited to 'libmysqlpp/connection.cpp')
-rw-r--r--libmysqlpp/connection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmysqlpp/connection.cpp b/libmysqlpp/connection.cpp
index c67e906..d3457f5 100644
--- a/libmysqlpp/connection.cpp
+++ b/libmysqlpp/connection.cpp
@@ -7,6 +7,8 @@
#include <ucontext.h>
#include <boost/optional.hpp>
+NAMEDFACTORY("mysql", MySQL::Connection, DB::ConnectionFactory);
+
class Opts {
public:
Opts() { port = 3306; }