summaryrefslogtreecommitdiff
path: root/libpqpp/pq-command.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 05:16:51 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 06:00:08 +0000
commit2a8c566bee4f12f48a441fd37f64102328eac6d0 (patch)
tree68d232be8d4a10877ac56268a2e309f39fe4deef /libpqpp/pq-command.cpp
parentTidy up (diff)
downloadlibdbpp-postgresql-2a8c566bee4f12f48a441fd37f64102328eac6d0.tar.bz2
libdbpp-postgresql-2a8c566bee4f12f48a441fd37f64102328eac6d0.tar.xz
libdbpp-postgresql-2a8c566bee4f12f48a441fd37f64102328eac6d0.zip
Improve and centralise transaction handling logiclibdbpp-postgresql-1.0.0
Diffstat (limited to 'libpqpp/pq-command.cpp')
-rw-r--r--libpqpp/pq-command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-command.cpp b/libpqpp/pq-command.cpp
index 9d6b7c2..9b336bd 100644
--- a/libpqpp/pq-command.cpp
+++ b/libpqpp/pq-command.cpp
@@ -5,7 +5,7 @@
#include <buffer.h>
#include <boost/date_time/posix_time/posix_time.hpp>
-PQ::Command::Command(const Connection * conn, const std::string & sql, unsigned int no) :
+PQ::Command::Command(Connection * conn, const std::string & sql, unsigned int no) :
DB::Command(sql),
stmntName(stringbf("pStatement_%u_%p", no, this)),
c(conn)