diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-01 15:51:09 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-01 15:51:09 +0000 |
commit | 573878f6b045d1834d59dc6016dd16ffb1659067 (patch) | |
tree | 8194bc854a6492bfbdd18cc1734730ccb405d912 /libpqpp | |
parent | Do lots more work with compile time formatter instead runtime formatters (diff) | |
download | libdbpp-postgresql-573878f6b045d1834d59dc6016dd16ffb1659067.tar.bz2 libdbpp-postgresql-573878f6b045d1834d59dc6016dd16ffb1659067.tar.xz libdbpp-postgresql-573878f6b045d1834d59dc6016dd16ffb1659067.zip |
Register mock db implementations
Diffstat (limited to 'libpqpp')
-rw-r--r-- | libpqpp/pq-mock.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpqpp/pq-mock.cpp b/libpqpp/pq-mock.cpp index 44c8cc9..f72c01f 100644 --- a/libpqpp/pq-mock.cpp +++ b/libpqpp/pq-mock.cpp @@ -5,6 +5,8 @@ #include <selectcommand.h> #include <selectcommandUtil.impl.h> +NAMEDFACTORY("postgresql", PQ::Mock, DB::MockDatabaseFactory); + namespace PQ { Mock::Mock(const std::string & masterdb, const std::string & name, const std::vector<boost::filesystem::path> & ss) : |