From 94927bfef6548ac20118586bfcd51e60b296e569 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 24 Dec 2015 03:43:16 +0000 Subject: Beginnings of embbeded MySQL --- libmysqlpp/my-connection.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libmysqlpp/my-connection.h') 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 +#include #include "my-error.h" #include #include @@ -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; -- cgit v1.2.3