/[packages]/updates/8/mysql-connector-c++/current/SOURCES/mysql-connector-cpp-test-feature.patch
ViewVC logotype

Contents of /updates/8/mysql-connector-c++/current/SOURCES/mysql-connector-cpp-test-feature.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1769473 - (show annotations) (download)
Sat Jan 22 22:37:03 2022 UTC (2 years, 2 months ago) by neoclust
File size: 551 byte(s)
SILENT: Add patches
1 --- mysql-connector-c++-8.0.25-src/jdbc/driver/nativeapi/mysql_native_connection_wrapper.cpp 2021-03-15 17:21:15.000000000 +0200
2 +++ mysql-connector-c++-8.0.25-mod/jdbc/driver/nativeapi/mysql_native_connection_wrapper.cpp 2021-05-12 17:23:50.806629061 +0300
3 @@ -403,7 +403,11 @@
4 /* {{{ MySQL_NativeConnectionWrapper::has_query_attributes() */
5 bool MySQL_NativeConnectionWrapper::has_query_attributes()
6 {
7 +#ifdef CLIENT_QUERY_ATTRIBUTES
8 return mysql->server_capabilities & CLIENT_QUERY_ATTRIBUTES;
9 +#else
10 + return false;
11 +#endif
12 }
13 /* }}} */
14

  ViewVC Help
Powered by ViewVC 1.1.30