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

namespace pqxx
{
class dbtransaction;

namespace internal
{
namespace gate
{
class PQXX_PRIVATE connection_dbtransaction : callgate<connection_base>
{
  friend class pqxx::dbtransaction;

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

  int get_reactivation_avoidance_count() const noexcept
	{ return home().m_reactivation_avoidance.get(); }
};
} // namespace pqxx::internal::gate
} // namespace pqxx::internal
} // namespace pqxx