aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libpqxx/include/pqxx/internal/gates/transaction-subtransaction.hxx
blob: 243f47a798ebfe2ce6a88aa6e6317ea1af178f1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <pqxx/internal/callgate.hxx>

namespace pqxx
{
namespace internal
{
namespace gate
{
class PQXX_PRIVATE transaction_subtransaction : callgate<transaction_base>
{
  friend class pqxx::subtransaction;

  transaction_subtransaction(reference x) : super(x) {}

  void add_reactivation_avoidance_count(int n)
	{ home().m_reactivation_avoidance.add(n); }
};
} // namespace pqxx::internal::gate
} // namespace pqxx::internal
} // namespace pqxx