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
commit203936297e449f0215641037736cc4d142fd4a60 (patch)
treee2b8ea54713c563cb545a91f791e929b3e19a704 /libpqpp/pq-modifycommand.h
parentReuse prepared statements (diff)
downloadlibdbpp-postgresql-203936297e449f0215641037736cc4d142fd4a60.tar.bz2
libdbpp-postgresql-203936297e449f0215641037736cc4d142fd4a60.tar.xz
libdbpp-postgresql-203936297e449f0215641037736cc4d142fd4a60.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;
};
}