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

Contents of /updates/8/mysql-connector-c++/current/SOURCES/mysql-connector-cpp-libmysql_dynamic_proxy_typos.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: 955 byte(s)
SILENT: Add patches
1 diff -uNr mysql-connector-c++-8.0.25-src/jdbc/driver/nativeapi/libmysql_dynamic_proxy.cpp mysql-connector-c++-8.0.25-mod/jdbc/driver/nativeapi/libmysql_dynamic_proxy.cpp
2 --- mysql-connector-c++-8.0.25-src/jdbc/driver/nativeapi/libmysql_dynamic_proxy.cpp 2021-03-15 17:21:15.000000000 +0200
3 +++ mysql-connector-c++-8.0.25-mod/jdbc/driver/nativeapi/libmysql_dynamic_proxy.cpp 2021-05-12 17:00:33.080944723 +0300
4 @@ -440,7 +440,7 @@
5 int
6 LibmysqlDynamicProxy::get_option(MYSQL * mysql, enum mysql_option option, const void *arg)
7 {
8 - static ptr2mysql_get_option ptr2_get_option = symbol_safe_cast<ptr2mysql_options>(GetProcAddr("mysql_get_option"));
9 + static ptr2mysql_get_option ptr2_get_option = symbol_safe_cast<ptr2mysql_get_option>(GetProcAddr("mysql_get_option"));
10 if (ptr2_get_option != NULL) {
11 if (((*ptr2_get_option)(mysql, option, arg))) {
12 throw sql::InvalidArgumentException("Unsupported option provided to mysql_get_option()");

  ViewVC Help
Powered by ViewVC 1.1.30