summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqlpp/my-connection.h')
-rw-r--r--libmysqlpp/my-connection.h6
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);