From a221fb5615c6f174d5db463f69377c0829f449ab Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 26 Feb 2016 20:47:35 +0000 Subject: Prepare statement upfront during construction --- libpqpp/pq-modifycommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpqpp/pq-modifycommand.h') diff --git a/libpqpp/pq-modifycommand.h b/libpqpp/pq-modifycommand.h index 33fd333..ed8b622 100644 --- a/libpqpp/pq-modifycommand.h +++ b/libpqpp/pq-modifycommand.h @@ -15,7 +15,7 @@ namespace PQ { private: Connection::PreparedStatements::const_iterator prepare() const; - const Connection::StatementHash hash; + const std::string pstmt; }; } -- cgit v1.2.3