1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Windows, compiling : use /permissive- switch to improve conformance

fix a couple "initialization skipped by goto" and other new errors.
This commit is contained in:
Vladislav Vaintroub
2018-02-07 01:40:16 +00:00
parent 8fe04a3df3
commit 53476abce8
12 changed files with 61 additions and 42 deletions

View File

@@ -163,7 +163,7 @@ int auth_server(MYSQL_PLUGIN_VIO *vio, const char *user, size_t user_len, int co
}
sspi_ret= AcquireCredentialsHandle(
srv_principal_name,
srv_mech_name,
(LPSTR)srv_mech_name,
SECPKG_CRED_INBOUND,
NULL,
NULL,
@@ -287,7 +287,7 @@ int plugin_init()
ret = AcquireCredentialsHandle(
srv_principal_name,
srv_mech_name,
(LPSTR)srv_mech_name,
SECPKG_CRED_INBOUND,
NULL,
NULL,