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
commitfd9ad6023012494356829e9b7642ef4ec07f30a3 (patch)
tree28e8f424645dbd6e39863c5dd9531509740ad913 /libpqpp/pq-command.cpp
parentTidy up (diff)
downloadlibdbpp-postgresql-fd9ad6023012494356829e9b7642ef4ec07f30a3.tar.bz2
libdbpp-postgresql-fd9ad6023012494356829e9b7642ef4ec07f30a3.tar.xz
libdbpp-postgresql-fd9ad6023012494356829e9b7642ef4ec07f30a3.zip
Improve and centralise transaction handling logic
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)