summaryrefslogtreecommitdiff
path: root/libpqpp/selectcommand.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2013-01-27 18:18:31 +0000
committerrandomdan <randomdan@localhost>2013-01-27 18:18:31 +0000
commitaf7b76b6bc14c57a753d6a58365bd4a6cc4e914d (patch)
tree9f796b3ce7356a995508959676da6cd521060a7a /libpqpp/selectcommand.h
parentFix issues with PQ connection errors not being handled correctly (diff)
downloadlibdbpp-postgresql-af7b76b6bc14c57a753d6a58365bd4a6cc4e914d.tar.bz2
libdbpp-postgresql-af7b76b6bc14c57a753d6a58365bd4a6cc4e914d.tar.xz
libdbpp-postgresql-af7b76b6bc14c57a753d6a58365bd4a6cc4e914d.zip
Record tx open separately from executed for the cases when the execute fails
Diffstat (limited to 'libpqpp/selectcommand.h')
-rw-r--r--libpqpp/selectcommand.h1
1 files changed, 1 insertions, 0 deletions
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<Column *> fields;
std::map<Glib::ustring, Column *> fieldsName;
int nTuples, tuple;