summaryrefslogtreecommitdiff
path: root/libpqpp/pq-modifycommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-modifycommand.h')
-rw-r--r--libpqpp/pq-modifycommand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpqpp/pq-modifycommand.h b/libpqpp/pq-modifycommand.h
index 5f48074..33fd333 100644
--- a/libpqpp/pq-modifycommand.h
+++ b/libpqpp/pq-modifycommand.h
@@ -3,9 +3,9 @@
#include <modifycommand.h>
#include "pq-command.h"
+#include "pq-connection.h"
namespace PQ {
- class Connection;
class ModifyCommand : public DB::ModifyCommand, public Command {
public:
ModifyCommand(Connection *, const std::string & sql, unsigned int no);
@@ -14,8 +14,8 @@ namespace PQ {
unsigned int execute(bool) override;
private:
- void prepare() const;
- mutable bool prepared;
+ Connection::PreparedStatements::const_iterator prepare() const;
+ const Connection::StatementHash hash;
};
}