From af7b76b6bc14c57a753d6a58365bd4a6cc4e914d Mon Sep 17 00:00:00 2001 From: randomdan Date: Sun, 27 Jan 2013 18:18:31 +0000 Subject: Record tx open separately from executed for the cases when the execute fails --- libpqpp/selectcommand.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libpqpp/selectcommand.h') diff --git a/libpqpp/selectcommand.h b/libpqpp/selectcommand.h index 932717d..507bf43 100644 --- a/libpqpp/selectcommand.h +++ b/libpqpp/selectcommand.h @@ -22,6 +22,7 @@ namespace PQ { unsigned int getOrdinal(const Glib::ustring&) const; private: mutable bool executed; + mutable bool txOpened; std::vector fields; std::map fieldsName; int nTuples, tuple; -- cgit v1.2.3