summaryrefslogtreecommitdiff
path: root/libpqpp/pq-bulkselectcommand.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-01-01 20:08:22 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-01-01 20:08:22 +0000
commitdaaf7b3facc18bc3073b0ffb245e1c86d8670b8b (patch)
tree3bf72e869b9e19098bdf5792654a02daa230b207 /libpqpp/pq-bulkselectcommand.cpp
parentAPI change to pass command options through (diff)
downloadlibdbpp-postgresql-1.1.0.tar.bz2
libdbpp-postgresql-1.1.0.tar.xz
libdbpp-postgresql-1.1.0.zip
Use command options statement hash when it's availablelibdbpp-postgresql-1.1.0
Diffstat (limited to 'libpqpp/pq-bulkselectcommand.cpp')
-rw-r--r--libpqpp/pq-bulkselectcommand.cpp4
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)
{
}