summaryrefslogtreecommitdiff
path: root/libmysqlpp
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqlpp')
-rw-r--r--libmysqlpp/my-connection.cpp2
-rw-r--r--libmysqlpp/my-connection.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmysqlpp/my-connection.cpp b/libmysqlpp/my-connection.cpp
index 7f11a32..c6ab993 100644
--- a/libmysqlpp/my-connection.cpp
+++ b/libmysqlpp/my-connection.cpp
@@ -267,7 +267,7 @@ MySQL::Connection::bulkUploadData(const char * data, size_t len) const
}
int64_t
-MySQL::Connection::insertId() const
+MySQL::Connection::insertId()
{
return mysql_insert_id(&conn);
}
diff --git a/libmysqlpp/my-connection.h b/libmysqlpp/my-connection.h
index 4bba394..238200e 100644
--- a/libmysqlpp/my-connection.h
+++ b/libmysqlpp/my-connection.h
@@ -35,7 +35,7 @@ namespace MySQL {
void endBulkUpload(const char *) override;
size_t bulkUploadData(const char *, size_t) const override;
- int64_t insertId() const override;
+ int64_t insertId() override;
mutable MYSQL conn;