diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-24 03:03:25 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-24 03:06:07 +0100 |
commit | 3cf494c3896f903d9e0179c12897ffb6c7cbf4d5 (patch) | |
tree | 3e36d5011da0b11277de4f416285bcb9c7880968 /libmysqlpp/connection.cpp | |
parent | Connector compatibility fix (diff) | |
download | libdbpp-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.cpp | 2 |
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; } |