diff options
Diffstat (limited to 'libdbpp/unittests')
m--------- | libdbpp/unittests/pq | 0 | ||||
-rw-r--r-- | libdbpp/unittests/testConnection.cpp | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libdbpp/unittests/pq b/libdbpp/unittests/pq -Subproject 40beff4b1f58aa05fdffd2b7e7a24bbcb721cf0 +Subproject f86b8d2e23339e27d416145ad7b660d66267e15 diff --git a/libdbpp/unittests/testConnection.cpp b/libdbpp/unittests/testConnection.cpp index 7229f6e..b874a99 100644 --- a/libdbpp/unittests/testConnection.cpp +++ b/libdbpp/unittests/testConnection.cpp @@ -68,12 +68,12 @@ BOOST_AUTO_TEST_CASE( txscope ) BOOST_REQUIRE(mock); BOOST_REQUIRE_EQUAL(false, mock->inTx()); { - DB::TransactionScope tx(mock); + DB::TransactionScope tx(*mock); BOOST_REQUIRE_EQUAL(true, mock->inTx()); } BOOST_REQUIRE_EQUAL(false, mock->inTx()); try { - DB::TransactionScope tx(mock); + DB::TransactionScope tx(*mock); BOOST_REQUIRE_EQUAL(true, mock->inTx()); throw std::exception(); } |