summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4aa0ab9..3afbe30 100644
--- a/libmysqlpp/my-connection.cpp
+++ b/libmysqlpp/my-connection.cpp
@@ -223,7 +223,7 @@ namespace MySQL {
}
void
-MySQL::Connection::beginBulkUpload(const char * table, const char * extra) const
+MySQL::Connection::beginBulkUpload(const char * table, const char * extra)
{
static char buf[BUFSIZ];
int len = snprintf(buf, BUFSIZ, "LOAD DATA LOCAL INFILE 'any' INTO TABLE %s %s", table, extra);
@@ -238,7 +238,7 @@ MySQL::Connection::beginBulkUpload(const char * table, const char * extra) const
}
void
-MySQL::Connection::endBulkUpload(const char * msg) const
+MySQL::Connection::endBulkUpload(const char * msg)
{
ctx->loadBuf = NULL;
ctx->loadBufLen = 0;
diff --git a/libmysqlpp/my-connection.h b/libmysqlpp/my-connection.h
index d52bc06..44b4b7c 100644
--- a/libmysqlpp/my-connection.h
+++ b/libmysqlpp/my-connection.h
@@ -31,8 +31,8 @@ namespace MySQL {
DB::SelectCommand * newSelectCommand(const std::string & sql) const override;
DB::ModifyCommand * newModifyCommand(const std::string & sql) const override;
- void beginBulkUpload(const char *, const char *) const override;
- void endBulkUpload(const char *) const override;
+ void beginBulkUpload(const char *, const char *) override;
+ void endBulkUpload(const char *) override;
size_t bulkUploadData(const char *, size_t) const override;
int64_t insertId() const override;