aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libpqxx/src/version.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/version.cxx
parent0e69bf615395fdd48ecee032faaec81bc468b0b8 (diff)
downloadydb-44354d0fc55926c1d4510d1d2c9c9f6a1a5e9300.tar.gz
YQ Connector:test INNER JOIN
Diffstat (limited to 'contrib/libs/libpqxx/src/version.cxx')
-rw-r--r--contrib/libs/libpqxx/src/version.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/libs/libpqxx/src/version.cxx b/contrib/libs/libpqxx/src/version.cxx
new file mode 100644
index 0000000000..1fba1ec6d4
--- /dev/null
+++ b/contrib/libs/libpqxx/src/version.cxx
@@ -0,0 +1,18 @@
+#include "pqxx/compiler-internal.hxx"
+
+#include "pqxx/version"
+
+namespace pqxx
+{
+namespace internal
+{
+// One, single definition of this function. If a call fails to link, then the
+// libpqxx binary was built against a different libpqxx version than the code
+// which is being linked against it.
+template<> PQXX_LIBEXPORT
+int check_library_version<PQXX_VERSION_MAJOR, PQXX_VERSION_MINOR>() noexcept
+{
+ return 0;
+}
+}
+}