summaryrefslogtreecommitdiff
path: root/libpqpp/pq-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
commitb1da18360b40522e6042c09b02a52a91b77c042b (patch)
tree81501a80fd6a8ef7c859e94bbc12001371907b21 /libpqpp/pq-connection.cpp
parentNon-const command getters (diff)
downloadlibdbpp-postgresql-b1da18360b40522e6042c09b02a52a91b77c042b.tar.bz2
libdbpp-postgresql-b1da18360b40522e6042c09b02a52a91b77c042b.tar.xz
libdbpp-postgresql-b1da18360b40522e6042c09b02a52a91b77c042b.zip
Non-const insertId
Diffstat (limited to 'libpqpp/pq-connection.cpp')
-rw-r--r--libpqpp/pq-connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-connection.cpp b/libpqpp/pq-connection.cpp
index 4219496..42fc1aa 100644
--- a/libpqpp/pq-connection.cpp
+++ b/libpqpp/pq-connection.cpp
@@ -204,7 +204,7 @@ PQ::Connection::bulkUploadData(const char * data, size_t len) const
}
int64_t
-PQ::Connection::insertId() const
+PQ::Connection::insertId()
{
SelectCommand getId(this, "SELECT lastval()", pstmntNo++);
int64_t id = -1;