aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libpqxx/src/nontransaction.cxx
diff options
context:
space:
mode:
authorgalaxycrab <UgnineSirdis@ydb.tech>2023-11-23 11:26:33 +0300
committergalaxycrab <UgnineSirdis@ydb.tech>2023-11-23 12:01:57 +0300
commit44354d0fc55926c1d4510d1d2c9c9f6a1a5e9300 (patch)
treecb4d75cd1c6dbc3da0ed927337fd8d1b6ed9da84 /contrib/libs/libpqxx/src/nontransaction.cxx
parent0e69bf615395fdd48ecee032faaec81bc468b0b8 (diff)
downloadydb-44354d0fc55926c1d4510d1d2c9c9f6a1a5e9300.tar.gz
YQ Connector:test INNER JOIN
Diffstat (limited to 'contrib/libs/libpqxx/src/nontransaction.cxx')
-rw-r--r--contrib/libs/libpqxx/src/nontransaction.cxx25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/libs/libpqxx/src/nontransaction.cxx b/contrib/libs/libpqxx/src/nontransaction.cxx
new file mode 100644
index 0000000000..09e13a94d0
--- /dev/null
+++ b/contrib/libs/libpqxx/src/nontransaction.cxx
@@ -0,0 +1,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);
+}