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 | 203936297e449f0215641037736cc4d142fd4a60 (patch) | |
tree | e2b8ea54713c563cb545a91f791e929b3e19a704 /libpqpp/pq-modifycommand.h | |
parent | Reuse prepared statements (diff) | |
download | libdbpp-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.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; }; } |