From 2a8c566bee4f12f48a441fd37f64102328eac6d0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Dec 2015 05:16:51 +0000 Subject: Improve and centralise transaction handling logic --- libpqpp/pq-command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpqpp/pq-command.cpp') 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 #include -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) -- cgit v1.2.3