summaryrefslogtreecommitdiff
path: root/libpqpp/connection.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-02 21:26:31 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-02 21:26:31 +0000
commit1eaf76d711c2da04b925f381d77fbb5e4c7ed898 (patch)
treeb6d1ccd33036014e3485dcc4410ec32cd9c8bbaf /libpqpp/connection.h
parentPropergate connection error details into DB::Error and add test (diff)
downloadlibdbpp-postgresql-1eaf76d711c2da04b925f381d77fbb5e4c7ed898.tar.bz2
libdbpp-postgresql-1eaf76d711c2da04b925f381d77fbb5e4c7ed898.tar.xz
libdbpp-postgresql-1eaf76d711c2da04b925f381d77fbb5e4c7ed898.zip
Check for libpq thread safety, disable libcrypto init (fixes crashes with multiple ssl connections) add test
Diffstat (limited to 'libpqpp/connection.h')
-rw-r--r--libpqpp/connection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpqpp/connection.h b/libpqpp/connection.h
index 40fb00e..618c875 100644
--- a/libpqpp/connection.h
+++ b/libpqpp/connection.h
@@ -3,9 +3,10 @@
#include <connection.h>
#include <libpq-fe.h>
+#include <visibility.h>
namespace PQ {
- class Connection : public DB::Connection {
+ class DLL_PUBLIC Connection : public DB::Connection {
public:
Connection(const std::string & info);
~Connection();