blob: bb2cfee177d5227b765534aac25da21130913521 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include <pqxx/internal/callgate.hxx>
namespace pqxx
{
namespace internal
{
class sql_cursor;
namespace gate
{
class PQXX_PRIVATE connection_sql_cursor : callgate<connection_base>
{
friend class pqxx::internal::sql_cursor;
connection_sql_cursor(reference x) : super(x) {}
result exec(const char query[], int retries)
{ return home().exec(query, retries); }
void add_reactivation_avoidance_count(int n)
{ home().add_reactivation_avoidance_count(n); }
};
} // namespace pqxx::internal::gate
} // namespace pqxx::internal
} // namespace pqxx
|