diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 02:42:43 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 06:00:07 +0000 |
commit | 97c3d4c1604b525e4522814e34723488c59a83f5 (patch) | |
tree | cd9ca0e4b7013d4af1c85c4a677a2cbb12bb9603 /libmysqlpp/my-connection.h | |
parent | Remove rebind (diff) | |
download | libdbpp-mysql-97c3d4c1604b525e4522814e34723488c59a83f5.tar.bz2 libdbpp-mysql-97c3d4c1604b525e4522814e34723488c59a83f5.tar.xz libdbpp-mysql-97c3d4c1604b525e4522814e34723488c59a83f5.zip |
Reshuffle and add new exceptions
Diffstat (limited to 'libmysqlpp/my-connection.h')
-rw-r--r-- | libmysqlpp/my-connection.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libmysqlpp/my-connection.h b/libmysqlpp/my-connection.h index 1f7ec5a..d52bc06 100644 --- a/libmysqlpp/my-connection.h +++ b/libmysqlpp/my-connection.h @@ -7,7 +7,13 @@ #include <boost/shared_ptr.hpp> namespace MySQL { + class ConnectionError : public virtual Error, public virtual DB::ConnectionError { + public: + ConnectionError(MYSQL *); + }; + class LoadContext; + class Connection : public DB::Connection { public: Connection(const std::string & info); |