aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libpqxx/src/nontransaction.cxx
blob: 09e13a94d02841eaacd00ef89b63fdafcfb112b0 (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
/** Implementation of the pqxx::nontransaction class.
 *
 * pqxx::nontransaction provides nontransactional database access.
 *
 * Copyright (c) 2000-2019, Jeroen T. Vermeulen.
 *
 * See COPYING for copyright license.  If you did not receive a file called
 * COPYING with this source code, please notify the distributor of this mistake,
 * or contact the author.
 */
#include "pqxx/compiler-internal.hxx"

#include "pqxx/nontransaction"


pqxx::nontransaction::~nontransaction()
{
  End();
}


pqxx::result pqxx::nontransaction::do_exec(const char Query[])
{
  return direct_exec(Query, 0);
}