summaryrefslogtreecommitdiff
path: root/libmysqlpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-01-01 18:43:02 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-01-01 18:43:02 +0000
commit228ac4047faf9a21cf867706e8f3e2da0d296434 (patch)
tree9316a4e810b65113965b9fa3844cac14662b8df5 /libmysqlpp
parentRegister mock db implementations (diff)
downloadlibdbpp-mysql-1.1.0.tar.bz2
libdbpp-mysql-1.1.0.tar.xz
libdbpp-mysql-1.1.0.zip
API change to pass command options throughlibdbpp-mysql-1.1.0
Diffstat (limited to 'libmysqlpp')
-rw-r--r--libmysqlpp/my-connection.cpp4
-rw-r--r--libmysqlpp/my-connection.h4
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;