summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-connection.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 04:35:17 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 06:00:07 +0000
commit369a3f4c08ec6ed996019cae98ac5a5df04a90aa (patch)
tree282469de6934029ac1369c1b58531a8b153c0f4b /libmysqlpp/my-connection.cpp
parentNon-const command getters (diff)
downloadlibdbpp-mysql-369a3f4c08ec6ed996019cae98ac5a5df04a90aa.tar.bz2
libdbpp-mysql-369a3f4c08ec6ed996019cae98ac5a5df04a90aa.tar.xz
libdbpp-mysql-369a3f4c08ec6ed996019cae98ac5a5df04a90aa.zip
Non-const insertId
Diffstat (limited to 'libmysqlpp/my-connection.cpp')
-rw-r--r--libmysqlpp/my-connection.cpp2
1 files changed, 1 insertions, 1 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);
}