summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdbpp/connection.cpp2
-rw-r--r--libdbpp/connection.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libdbpp/connection.cpp b/libdbpp/connection.cpp
index b267af1..979c30f 100644
--- a/libdbpp/connection.cpp
+++ b/libdbpp/connection.cpp
@@ -94,7 +94,7 @@ DB::Connection::resolvePlugin(const std::type_info &, const std::string & name)
}
int64_t
-DB::Connection::insertId() const
+DB::Connection::insertId()
{
throw std::runtime_error("insertId not implemented for this driver.");
}
diff --git a/libdbpp/connection.h b/libdbpp/connection.h
index 2ef53ac..700323b 100644
--- a/libdbpp/connection.h
+++ b/libdbpp/connection.h
@@ -134,7 +134,7 @@ namespace DB {
virtual size_t bulkUploadData(const char *, size_t) const;
/// Return the Id used in the last insert
- virtual int64_t insertId() const;
+ virtual int64_t insertId();
/// Patch one table's contents into another.
PatchResult patchTable(TablePatch * tp);