diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-01 18:43:02 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-01 18:43:02 +0000 |
commit | 81ebcc8f2bbc20bc851ea9986f1aadb1c8e4874d (patch) | |
tree | 6fce87d20af8de1c3f5f5d9c3de371a0bc716dcf | |
parent | DB specific connector doesn't need docs (diff) | |
download | libdbpp-odbc-81ebcc8f2bbc20bc851ea9986f1aadb1c8e4874d.tar.bz2 libdbpp-odbc-81ebcc8f2bbc20bc851ea9986f1aadb1c8e4874d.tar.xz libdbpp-odbc-81ebcc8f2bbc20bc851ea9986f1aadb1c8e4874d.zip |
API change to pass command options throughlibdbpp-odbc-1.1.0
-rw-r--r-- | libodbcpp/odbc-connection.cpp | 4 | ||||
-rw-r--r-- | libodbcpp/odbc-connection.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libodbcpp/odbc-connection.cpp b/libodbcpp/odbc-connection.cpp index c26af05..48a1118 100644 --- a/libodbcpp/odbc-connection.cpp +++ b/libodbcpp/odbc-connection.cpp @@ -140,13 +140,13 @@ ODBC::Connection::bulkUpdateStyle() const } DB::SelectCommand * -ODBC::Connection::newSelectCommand(const std::string & sql) +ODBC::Connection::newSelectCommand(const std::string & sql, const DB::CommandOptions *) { return new ODBC::SelectCommand(*this, sql); } DB::ModifyCommand * -ODBC::Connection::newModifyCommand(const std::string & sql) +ODBC::Connection::newModifyCommand(const std::string & sql, const DB::CommandOptions *) { return new ODBC::ModifyCommand(*this, sql); } diff --git a/libodbcpp/odbc-connection.h b/libodbcpp/odbc-connection.h index 97305e1..4a3940e 100644 --- a/libodbcpp/odbc-connection.h +++ b/libodbcpp/odbc-connection.h @@ -30,8 +30,8 @@ namespace ODBC { DB::BulkDeleteStyle bulkDeleteStyle() const override; DB::BulkUpdateStyle bulkUpdateStyle() const override; - DB::SelectCommand * newSelectCommand(const std::string & sql) override; - DB::ModifyCommand * newModifyCommand(const std::string & sql) override; + DB::SelectCommand * newSelectCommand(const std::string & sql, const DB::CommandOptions *) override; + DB::ModifyCommand * newModifyCommand(const std::string & sql, const DB::CommandOptions *) override; private: DB::BulkDeleteStyle thinkDelStyle; |