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-modifycommand.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-modifycommand.cpp')
-rw-r--r-- | libpqpp/pq-modifycommand.cpp | 4 |
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) { } |