summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-connection.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-24 03:43:16 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-05-04 20:44:32 +0100
commit94927bfef6548ac20118586bfcd51e60b296e569 (patch)
tree90cc2d268219acc412321433421fb8fa7c798c5b /libmysqlpp/my-connection.h
parentStandalone split (diff)
downloadlibdbpp-mysql-94927bfef6548ac20118586bfcd51e60b296e569.tar.bz2
libdbpp-mysql-94927bfef6548ac20118586bfcd51e60b296e569.tar.xz
libdbpp-mysql-94927bfef6548ac20118586bfcd51e60b296e569.zip
Beginnings of embbeded MySQL
Diffstat (limited to 'libmysqlpp/my-connection.h')
-rw-r--r--libmysqlpp/my-connection.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libmysqlpp/my-connection.h b/libmysqlpp/my-connection.h
index f6acb39..fdc3e5a 100644
--- a/libmysqlpp/my-connection.h
+++ b/libmysqlpp/my-connection.h
@@ -2,6 +2,7 @@
#define MY_CONNECTION_H
#include <connection.h>
+#include <visibility.h>
#include "my-error.h"
#include <mysql.h>
#include <boost/shared_ptr.hpp>
@@ -14,7 +15,7 @@ namespace MySQL {
class LoadContext;
- class Connection : public DB::Connection {
+ class DLL_PUBLIC Connection : public DB::Connection {
public:
Connection(const std::string & info);
~Connection();
@@ -37,6 +38,9 @@ namespace MySQL {
mutable MYSQL conn;
+ protected:
+ Connection();
+
private:
my_bool my_true;