From 55b8c97ae06dd7902d3dc47eece04890ecaf30bc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 1 Apr 2018 13:52:39 +0100 Subject: Transactionless cursor selects Remove the need to open a transaction for a cursor select by specifying them as WITH HOLD. Also add NO SCROLL as it's a feature we don't actually use. Updates tests with loops to ensure we haven't broken the ability to re-use / re-create statements. --- libpqpp/pq-cursorselectcommand.h | 1 - 1 file changed, 1 deletion(-) (limited to 'libpqpp/pq-cursorselectcommand.h') diff --git a/libpqpp/pq-cursorselectcommand.h b/libpqpp/pq-cursorselectcommand.h index 8182210..4d47229 100644 --- a/libpqpp/pq-cursorselectcommand.h +++ b/libpqpp/pq-cursorselectcommand.h @@ -22,7 +22,6 @@ namespace PQ { std::string mkdeclare() const; mutable bool executed; - mutable bool txOpened; int fTuples; std::string s_declare; std::string s_fetch; -- cgit v1.2.3