From 14477ccf6a37148a86b61940c38aebc7ec80f736 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Dec 2015 04:06:50 +0000 Subject: Non-const execute and save points --- libpqpp/pq-connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpqpp/pq-connection.cpp') 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); } -- cgit v1.2.3