diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-29 17:52:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-29 17:52:25 +0200 |
commit | 0db95154f2f063f6747d29c5c048bae933dcb7a1 (patch) | |
tree | bca487b77a028835bf53c5b4e4bfe4f9adfd1064 | |
parent | 7aadac132d8512e7ee63970561f40ade80772726 (diff) |
Release connection immediately after commit or rollback
-rw-r--r-- | odb/sqlite/transaction-impl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/sqlite/transaction-impl.cxx b/odb/sqlite/transaction-impl.cxx index 41254a1..609a9c5 100644 --- a/odb/sqlite/transaction-impl.cxx +++ b/odb/sqlite/transaction-impl.cxx @@ -58,7 +58,7 @@ namespace odb // Release the connection. // - //connection_.reset (); + connection_.reset (); } void transaction_impl:: @@ -74,7 +74,7 @@ namespace odb // Release the connection. // - //connection_.reset (); + connection_.reset (); } } } |