summaryrefslogtreecommitdiff
path: root/libmysqlpp/connection.cpp
diff options
context:
space:
mode:
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; }