summaryrefslogtreecommitdiff
path: root/libpqpp
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp')
-rw-r--r--libpqpp/pq-connection.cpp2
-rw-r--r--libpqpp/pq-connection.h2
2 files changed, 2 insertions, 2 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);
}
diff --git a/libpqpp/pq-connection.h b/libpqpp/pq-connection.h
index b7687cb..54ba52a 100644
--- a/libpqpp/pq-connection.h
+++ b/libpqpp/pq-connection.h
@@ -23,7 +23,7 @@ namespace PQ {
int rollbackTx() const override;
bool inTx() const override;
void ping() const override;
- void execute(const std::string & sql) const override;
+ void execute(const std::string & sql) override;
DB::BulkDeleteStyle bulkDeleteStyle() const override;
DB::BulkUpdateStyle bulkUpdateStyle() const override;