From a131796676cc7fa0794f663f13d3930ea8258923 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 1 Jan 2017 18:43:02 +0000 Subject: API change to pass command options through --- libsqlitepp/sqlite-connection.cpp | 4 ++-- libsqlitepp/sqlite-connection.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libsqlitepp') 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; -- cgit v1.2.3