summaryrefslogtreecommitdiff
path: root/libpqpp/pq-modifycommand.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-02-26 20:47:35 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-02-26 20:47:35 +0000
commita221fb5615c6f174d5db463f69377c0829f449ab (patch)
tree1cd11bbaa9e8acfff21296ed518d5e0ae0be8413 /libpqpp/pq-modifycommand.h
parentReuse prepared statements (diff)
downloadlibdbpp-postgresql-a221fb5615c6f174d5db463f69377c0829f449ab.tar.bz2
libdbpp-postgresql-a221fb5615c6f174d5db463f69377c0829f449ab.tar.xz
libdbpp-postgresql-a221fb5615c6f174d5db463f69377c0829f449ab.zip
Prepare statement upfront during construction
Diffstat (limited to 'libpqpp/pq-modifycommand.h')
-rw-r--r--libpqpp/pq-modifycommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-modifycommand.h b/libpqpp/pq-modifycommand.h
index 33fd333..ed8b622 100644
--- a/libpqpp/pq-modifycommand.h
+++ b/libpqpp/pq-modifycommand.h
@@ -15,7 +15,7 @@ namespace PQ {
private:
Connection::PreparedStatements::const_iterator prepare() const;
- const Connection::StatementHash hash;
+ const std::string pstmt;
};
}