diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 04:28:57 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 06:00:07 +0000 |
commit | cdeae65eeac5171f229976d26cd7f707f7151560 (patch) | |
tree | 5faaea28ab912c74eb58cbcf8c7df8ed78ca608d /libmysqlpp | |
parent | Default (not supported) bulk upload implementation (diff) | |
download | libdbpp-mysql-cdeae65eeac5171f229976d26cd7f707f7151560.tar.bz2 libdbpp-mysql-cdeae65eeac5171f229976d26cd7f707f7151560.tar.xz libdbpp-mysql-cdeae65eeac5171f229976d26cd7f707f7151560.zip |
Non-const command getters
Diffstat (limited to 'libmysqlpp')
-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 3afbe30..7f11a32 100644 --- a/libmysqlpp/my-connection.cpp +++ b/libmysqlpp/my-connection.cpp @@ -160,13 +160,13 @@ MySQL::Connection::ping() const DB::SelectCommand * -MySQL::Connection::newSelectCommand(const std::string & sql) const +MySQL::Connection::newSelectCommand(const std::string & sql) { return new SelectCommand(this, sql); } DB::ModifyCommand * -MySQL::Connection::newModifyCommand(const std::string & sql) const +MySQL::Connection::newModifyCommand(const std::string & sql) { return new ModifyCommand(this, sql); } diff --git a/libmysqlpp/my-connection.h b/libmysqlpp/my-connection.h index 44b4b7c..4bba394 100644 --- a/libmysqlpp/my-connection.h +++ b/libmysqlpp/my-connection.h @@ -28,8 +28,8 @@ namespace MySQL { DB::BulkDeleteStyle bulkDeleteStyle() const override; DB::BulkUpdateStyle bulkUpdateStyle() const override; - DB::SelectCommand * newSelectCommand(const std::string & sql) const override; - DB::ModifyCommand * newModifyCommand(const std::string & sql) const override; + DB::SelectCommand * newSelectCommand(const std::string & sql) override; + DB::ModifyCommand * newModifyCommand(const std::string & sql) override; void beginBulkUpload(const char *, const char *) override; void endBulkUpload(const char *) override; |