From 228ac4047faf9a21cf867706e8f3e2da0d296434 Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Sun, 1 Jan 2017 18:43:02 +0000
Subject: API change to pass command options through

---
 libmysqlpp/my-connection.cpp | 4 ++--
 libmysqlpp/my-connection.h   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

(limited to 'libmysqlpp')

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;
-- 
cgit v1.2.3