From 21f57a237b8338d7338918a00b0318322f547041 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 25 Apr 2013 07:34:36 +0200 Subject: Add default constructor, finalized() accessor to transaction --- odb/pgsql/transaction.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'odb/pgsql/transaction.hxx') diff --git a/odb/pgsql/transaction.hxx b/odb/pgsql/transaction.hxx index 3c4640d..9c4c9a1 100644 --- a/odb/pgsql/transaction.hxx +++ b/odb/pgsql/transaction.hxx @@ -28,7 +28,9 @@ namespace odb typedef pgsql::connection connection_type; explicit - transaction (transaction_impl*); + transaction (transaction_impl*, bool make_current = true); + + transaction (); // Return the database this transaction is on. // -- cgit v1.1