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 | 228ac4047faf9a21cf867706e8f3e2da0d296434 (patch) | |
tree | 9316a4e810b65113965b9fa3844cac14662b8df5 | |
parent | Register mock db implementations (diff) | |
download | libdbpp-mysql-228ac4047faf9a21cf867706e8f3e2da0d296434.tar.bz2 libdbpp-mysql-228ac4047faf9a21cf867706e8f3e2da0d296434.tar.xz libdbpp-mysql-228ac4047faf9a21cf867706e8f3e2da0d296434.zip |
API change to pass command options throughlibdbpp-mysql-1.1.0
-rw-r--r-- | libmysqlpp/my-connection.cpp | 4 | ||||
-rw-r--r-- | libmysqlpp/my-connection.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libmysqlpp/my-connection.cpp b/libmysqlpp/my-connection.cpp index c25a97b..acc89cd 100644 --- a/libmysqlpp/my-connection.cpp +++ b/libmysqlpp/my-connection.cpp @@ -128,13 +128,13 @@ MySQL::Connection::ping() const DB::SelectCommand * -MySQL::Connection::newSelectCommand(const std::string & sql) +MySQL::Connection::newSelectCommand(const std::string & sql, const DB::CommandOptions *) { return new SelectCommand(this, sql); } DB::ModifyCommand * -MySQL::Connection::newModifyCommand(const std::string & sql) +MySQL::Connection::newModifyCommand(const std::string & sql, const DB::CommandOptions *) { return new ModifyCommand(this, sql); } diff --git a/libmysqlpp/my-connection.h b/libmysqlpp/my-connection.h index 2ffae0d..f6acb39 100644 --- a/libmysqlpp/my-connection.h +++ b/libmysqlpp/my-connection.h @@ -26,8 +26,8 @@ namespace MySQL { 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; void beginBulkUpload(const char *, const char *) override; void endBulkUpload(const char *) override; |