summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdbpp/connection.cpp2
m---------libdbpp/unittests/libdbpp-postgresql0
2 files changed, 1 insertions, 1 deletions
diff --git a/libdbpp/connection.cpp b/libdbpp/connection.cpp
index 5c63d0a..91fdf6a 100644
--- a/libdbpp/connection.cpp
+++ b/libdbpp/connection.cpp
@@ -193,7 +193,7 @@ DB::TransactionScope::TransactionScope(DB::Connection & c) :
DB::TransactionScope::~TransactionScope()
{
- if (std::uncaught_exception()) {
+ if (std::uncaught_exceptions()) {
conn.rollbackTx();
}
else {
diff --git a/libdbpp/unittests/libdbpp-postgresql b/libdbpp/unittests/libdbpp-postgresql
-Subproject fbad5dcdf8f17d1a3f3ff954f48b55d605d0a50
+Subproject f6686d1bf35611b779189f80b46079070809489