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 | 409aeefb61795aa8f524d4371800a5bebb66a2e4 (patch) | |
tree | 7540ed88071dd5c7ebbae697171e3afc571a2a02 /libpqpp/pq-bulkselectcommand.cpp | |
parent | API change to pass command options through (diff) | |
download | libdbpp-postgresql-409aeefb61795aa8f524d4371800a5bebb66a2e4.tar.bz2 libdbpp-postgresql-409aeefb61795aa8f524d4371800a5bebb66a2e4.tar.xz libdbpp-postgresql-409aeefb61795aa8f524d4371800a5bebb66a2e4.zip |
Use command options statement hash when it's available
Diffstat (limited to 'libpqpp/pq-bulkselectcommand.cpp')
-rw-r--r-- | libpqpp/pq-bulkselectcommand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpqpp/pq-bulkselectcommand.cpp b/libpqpp/pq-bulkselectcommand.cpp index 8b669f4..466eaaf 100644 --- a/libpqpp/pq-bulkselectcommand.cpp +++ b/libpqpp/pq-bulkselectcommand.cpp @@ -3,10 +3,10 @@ #include "pq-column.h" #include "pq-error.h" -PQ::BulkSelectCommand::BulkSelectCommand(Connection * conn, const std::string & sql, unsigned int no) : +PQ::BulkSelectCommand::BulkSelectCommand(Connection * conn, const std::string & sql, unsigned int no, const DB::CommandOptions * opts) : DB::Command(sql), DB::SelectCommand(sql), - PQ::PreparedStatement(conn, sql, no), + PQ::PreparedStatement(conn, sql, no, opts), executed(false) { } |