fred ouille wrote:
> If I understand well this code, the function mysql_ssl_set() will be
> used only if HAVE_MYSQL_SSL_SET is defined.....But this flag never
> appear anywhere else in this file or in another one, it is never defined.
Ah, I see the problem. This flag is defined by autoconf when it detects
the feature, since it's an optional feature in the C API. There's no
corresponding way to do this on the Windows side. I have to hard-code
it one way or the other. I guess it's probably better to assume it's
available, since most Windows users will be downloading the binaries
directly from mysql.com.
You can fix this in the meantime by defining that macro in the MySQL++
project settings and rebuilding the library.