diff options
author | randomdan <randomdan@localhost> | 2013-01-27 18:18:31 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2013-01-27 18:18:31 +0000 |
commit | af7b76b6bc14c57a753d6a58365bd4a6cc4e914d (patch) | |
tree | 9f796b3ce7356a995508959676da6cd521060a7a /libpqpp/selectcommand.h | |
parent | Fix issues with PQ connection errors not being handled correctly (diff) | |
download | libdbpp-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.h | 1 |
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; |