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 | a131796676cc7fa0794f663f13d3930ea8258923 (patch) | |
tree | 9f04ef40660490af9480c650f41f51d571e60b2a | |
parent | Register mock db implementations (diff) | |
download | libdbpp-sqlite-a131796676cc7fa0794f663f13d3930ea8258923.tar.bz2 libdbpp-sqlite-a131796676cc7fa0794f663f13d3930ea8258923.tar.xz libdbpp-sqlite-a131796676cc7fa0794f663f13d3930ea8258923.zip |
API change to pass command options throughlibdbpp-sqlite-1.1.0
-rw-r--r-- | libsqlitepp/sqlite-connection.cpp | 4 | ||||
-rw-r--r-- | libsqlitepp/sqlite-connection.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libsqlitepp/sqlite-connection.cpp b/libsqlitepp/sqlite-connection.cpp index 40f0304..369931d 100644 --- a/libsqlitepp/sqlite-connection.cpp +++ b/libsqlitepp/sqlite-connection.cpp @@ -68,13 +68,13 @@ SQLite::Connection::ping() const DB::SelectCommand * -SQLite::Connection::newSelectCommand(const std::string & sql) +SQLite::Connection::newSelectCommand(const std::string & sql, const DB::CommandOptions *) { return new SelectCommand(this, sql); } DB::ModifyCommand * -SQLite::Connection::newModifyCommand(const std::string & sql) +SQLite::Connection::newModifyCommand(const std::string & sql, const DB::CommandOptions *) { return new ModifyCommand(this, sql); } diff --git a/libsqlitepp/sqlite-connection.h b/libsqlitepp/sqlite-connection.h index f3f354d..b428b06 100644 --- a/libsqlitepp/sqlite-connection.h +++ b/libsqlitepp/sqlite-connection.h @@ -23,8 +23,8 @@ namespace SQLite { 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; int64_t insertId() override; |