diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-02-26 20:47:35 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-02-26 20:47:35 +0000 |
commit | a221fb5615c6f174d5db463f69377c0829f449ab (patch) | |
tree | 1cd11bbaa9e8acfff21296ed518d5e0ae0be8413 /libpqpp/pq-modifycommand.h | |
parent | Reuse prepared statements (diff) | |
download | libdbpp-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.h | 2 |
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; }; } |