summaryrefslogtreecommitdiff
path: root/libmysqlpp/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqlpp/connection.h')
-rw-r--r--libmysqlpp/connection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmysqlpp/connection.h b/libmysqlpp/connection.h
index 0524009..5b6fa79 100644
--- a/libmysqlpp/connection.h
+++ b/libmysqlpp/connection.h
@@ -4,8 +4,10 @@
#include "../libdbpp/connection.h"
#include "error.h"
#include <mysql.h>
+#include <boost/shared_ptr.hpp>
namespace MySQL {
+ class LoadContext;
class Connection : public DB::Connection {
public:
Connection(const std::string & info);
@@ -34,6 +36,8 @@ namespace MySQL {
mutable unsigned int txDepth;
mutable bool rolledback;
+
+ mutable boost::shared_ptr<LoadContext> ctx;
};
}