From db1e2f066393af3e58814417de5bbe7ea08a145d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 31 Dec 2015 04:04:31 +0000 Subject: Basics working, could do with a tidy up around mocking --- libmysqlpp/embeddedmy-connection.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libmysqlpp/embeddedmy-connection.h') diff --git a/libmysqlpp/embeddedmy-connection.h b/libmysqlpp/embeddedmy-connection.h index 3ceba2f..c94d86a 100644 --- a/libmysqlpp/embeddedmy-connection.h +++ b/libmysqlpp/embeddedmy-connection.h @@ -2,6 +2,7 @@ #define EMBEDDEDMY_CONNECTION_H #include "my-connection.h" +#include "embeddedmy-server.h" #include "my-error.h" #include @@ -10,8 +11,14 @@ namespace MySQL { class Connection : public ::MySQL::Connection { public: Connection(const std::string &); + Connection(Server *, const std::string &); + + void beginBulkUpload(const char *, const char *) override; + void endBulkUpload(const char *) override; + size_t bulkUploadData(const char *, size_t) const override; private: + ServerPtr server; }; } } -- cgit v1.2.3