summaryrefslogtreecommitdiff
path: root/libpqpp/pq-connection.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 04:06:50 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 06:00:07 +0000
commit14477ccf6a37148a86b61940c38aebc7ec80f736 (patch)
tree5b91eac0aab17db6c41286a23b3bbfb64fdf1765 /libpqpp/pq-connection.cpp
parentReshuffle and add new exceptions (diff)
downloadlibdbpp-postgresql-14477ccf6a37148a86b61940c38aebc7ec80f736.tar.bz2
libdbpp-postgresql-14477ccf6a37148a86b61940c38aebc7ec80f736.tar.xz
libdbpp-postgresql-14477ccf6a37148a86b61940c38aebc7ec80f736.zip
Non-const execute and save points
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 3de0071..8fb6350 100644
--- a/libpqpp/pq-connection.cpp
+++ b/libpqpp/pq-connection.cpp
@@ -94,7 +94,7 @@ PQ::Connection::inTx() const
}
void
-PQ::Connection::execute(const std::string & sql) const
+PQ::Connection::execute(const std::string & sql)
{
checkResultFree(PQexec(conn, sql.c_str()), PGRES_COMMAND_OK, PGRES_TUPLES_OK);
}