File mysql-connector-cpp-1.1.9-libmysql_dynamic_proxy_typos.patch of Package mysql-connector-cpp

Index: mysql-connector-c++-1.1.9/driver/nativeapi/libmysql_dynamic_proxy.cpp
===================================================================
--- mysql-connector-c++-1.1.9.orig/driver/nativeapi/libmysql_dynamic_proxy.cpp
+++ mysql-connector-c++-1.1.9/driver/nativeapi/libmysql_dynamic_proxy.cpp
@@ -434,7 +434,7 @@ LibmysqlDynamicProxy::options(MYSQL * my
 int
 LibmysqlDynamicProxy::get_option(MYSQL * mysql, enum mysql_option option, const void *arg)
 {
-	ptr2mysql_get_option ptr2_get_option = symbol_safe_cast<ptr2mysql_options4>(GetProcAddr("mysql_get_option"));
+	ptr2mysql_get_option ptr2_get_option = symbol_safe_cast<ptr2mysql_get_option>(GetProcAddr("mysql_get_option"));
 	if (ptr2_get_option != NULL) {
 		if (((*ptr2_get_option)(mysql, option, arg))) {
 			throw sql::InvalidArgumentException("Unsupported option provided to mysql_get_option()");
@@ -813,7 +813,7 @@ LibmysqlDynamicProxy::stmt_free_result(M
 {
         ptr2mysql_stmt_free_result ptr2_stmt_free_result = symbol_safe_cast<ptr2mysql_stmt_free_result>(GetProcAddr("mysql_stmt_free_result"));
 
-        return (*ptr2_stmt_next_result)(stmt);
+        return (*ptr2_stmt_free_result)(stmt);
 }
 /* }}} */