1
0
Files
mysql-connector-cpp/mysql-connector-cpp-test-feature.patch
Martin Pluskal bdf7704951 Accepting request 1092659 from home:marec2000:branches:server:database
- Updated to version 8.0.33
  * release notes:
    https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-33.html
- Rebased mysql-connector-cpp-mariadb.patch
- Removed cdk/include/mysql/cdk/foundation/CMakeLists.txt patch from mysql-connector-cpp-test-feature.patch
- Added mysql-connector-cpp-library.patch
- Removed unrecognized cmake flags from spec file

OBS-URL: https://build.opensuse.org/request/show/1092659
OBS-URL: https://build.opensuse.org/package/show/server:database/mysql-connector-cpp?expand=0&rev=56
2023-06-13 06:59:15 +00:00

17 lines
597 B
Diff

Index: b/jdbc/driver/nativeapi/mysql_native_connection_wrapper.cpp
===================================================================
--- a/jdbc/driver/nativeapi/mysql_native_connection_wrapper.cpp
+++ b/jdbc/driver/nativeapi/mysql_native_connection_wrapper.cpp
@@ -479,7 +479,11 @@ int MySQL_NativeConnectionWrapper::get_p
/* {{{ MySQL_NativeConnectionWrapper::has_query_attributes() */
bool MySQL_NativeConnectionWrapper::has_query_attributes()
{
+#ifdef CLIENT_QUERY_ATTRIBUTES
return mysql->server_capabilities & CLIENT_QUERY_ATTRIBUTES;
+#else
+ return false;
+#endif
}
/* }}} */