From 886e30e3943a9a2f2755f2ec79772ac333f94a8b Mon Sep 17 00:00:00 2001 From: randomdan Date: Thu, 6 Dec 2012 21:58:40 +0000 Subject: Implement a basic MySQL bulk loader --- libmysqlpp/connection.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libmysqlpp/connection.h') 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 +#include 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 ctx; }; } -- cgit v1.2.3