summaryrefslogtreecommitdiff
path: root/libpqpp/pq-modifycommand.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-modifycommand.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-modifycommand.cpp')
-rw-r--r--libpqpp/pq-modifycommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpqpp/pq-modifycommand.cpp b/libpqpp/pq-modifycommand.cpp
index 4cc31d2..f8e4d63 100644
--- a/libpqpp/pq-modifycommand.cpp
+++ b/libpqpp/pq-modifycommand.cpp
@@ -3,10 +3,10 @@
#include <stdlib.h>
#include "pq-connection.h"
-PQ::ModifyCommand::ModifyCommand(Connection * conn, const std::string & sql, unsigned int no) :
+PQ::ModifyCommand::ModifyCommand(Connection * conn, const std::string & sql, unsigned int no, const DB::CommandOptions * opts) :
DB::Command(sql),
DB::ModifyCommand(sql),
- PQ::PreparedStatement(conn, sql, no)
+ PQ::PreparedStatement(conn, sql, no, opts)
{
}