diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-01 20:08:22 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-01 20:08:22 +0000 |
commit | daaf7b3facc18bc3073b0ffb245e1c86d8670b8b (patch) | |
tree | 3bf72e869b9e19098bdf5792654a02daa230b207 /libpqpp/pq-prepared.h | |
parent | API change to pass command options through (diff) | |
download | libdbpp-postgresql-daaf7b3facc18bc3073b0ffb245e1c86d8670b8b.tar.bz2 libdbpp-postgresql-daaf7b3facc18bc3073b0ffb245e1c86d8670b8b.tar.xz libdbpp-postgresql-daaf7b3facc18bc3073b0ffb245e1c86d8670b8b.zip |
Use command options statement hash when it's availablelibdbpp-postgresql-1.1.0
Diffstat (limited to 'libpqpp/pq-prepared.h')
-rw-r--r-- | libpqpp/pq-prepared.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libpqpp/pq-prepared.h b/libpqpp/pq-prepared.h index 1f6e028..0f745c9 100644 --- a/libpqpp/pq-prepared.h +++ b/libpqpp/pq-prepared.h @@ -2,14 +2,16 @@ #define stuff #include "pq-command.h" +#include "pq-connection.h" namespace PQ { class PreparedStatement : public Command { protected: - PreparedStatement(Connection *, const std::string &, unsigned int); + PreparedStatement(Connection *, const std::string &, unsigned int, const DB::CommandOptions *); virtual ~PreparedStatement() = default; const char * prepare() const; + Connection::StatementHash hash; mutable const char * pstmt; }; } |