diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-31 04:04:31 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-05-04 20:44:40 +0100 |
commit | db1e2f066393af3e58814417de5bbe7ea08a145d (patch) | |
tree | 9d01e48d8ef7d63fbcca6aced2461b3f1e234dfd /libmysqlpp/my-connection.h | |
parent | Beginnings of embbeded MySQL (diff) | |
download | libdbpp-mysql-db1e2f066393af3e58814417de5bbe7ea08a145d.tar.bz2 libdbpp-mysql-db1e2f066393af3e58814417de5bbe7ea08a145d.tar.xz libdbpp-mysql-db1e2f066393af3e58814417de5bbe7ea08a145d.zip |
Basics working, could do with a tidy up around mocking
Diffstat (limited to 'libmysqlpp/my-connection.h')
-rw-r--r-- | libmysqlpp/my-connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmysqlpp/my-connection.h b/libmysqlpp/my-connection.h index fdc3e5a..36e9388 100644 --- a/libmysqlpp/my-connection.h +++ b/libmysqlpp/my-connection.h @@ -8,7 +8,7 @@ #include <boost/shared_ptr.hpp> namespace MySQL { - class ConnectionError : public virtual Error, public virtual DB::ConnectionError { + class DLL_PUBLIC ConnectionError : public virtual Error, public virtual DB::ConnectionError { public: ConnectionError(MYSQL *); }; @@ -35,6 +35,7 @@ namespace MySQL { size_t bulkUploadData(const char *, size_t) const override; int64_t insertId() override; + void execute(const std::string &) override; mutable MYSQL conn; |