1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

- Renamed cio to pvio (pluggable virtual IO)

- minor fixes in windows schannel
This commit is contained in:
Georg Richter
2015-10-27 10:24:48 +01:00
parent 04a4592271
commit 7500f37150
36 changed files with 1711 additions and 1645 deletions

View File

@@ -179,7 +179,7 @@ static void delete_trace_info(unsigned long thread_id)
unused4
DESCRIPTION
Init function registers a callback handler for CIO interface.
Init function registers a callback handler for PVIO interface.
RETURN
0 success
@@ -192,12 +192,12 @@ static int trace_init(char *errormsg,
void *func;
#ifdef WIN32
if (!(func= GetProcAddress(GetModuleHandle(NULL), "ma_cio_register_callback")))
if (!(func= GetProcAddress(GetModuleHandle(NULL), "ma_pvio_register_callback")))
#else
if (!(func= dlsym(RTLD_DEFAULT, "ma_cio_register_callback")))
if (!(func= dlsym(RTLD_DEFAULT, "ma_pvio_register_callback")))
#endif
{
strncpy(errormsg, "Can't find ma_cio_register_callback function", errormsg_size);
strncpy(errormsg, "Can't find ma_pvio_register_callback function", errormsg_size);
return 1;
}
register_callback= func;