MySQL :: MySQL 8.4 C API Developer Guide :: 5.4.27 mysql_free_ssl_session_data() (original) (raw)
5.4.27 mysql_free_ssl_session_data()
bool
mysql_free_ssl_session_data(MYSQL *, void *data)
Description
mysql_free_ssl_session_data() disposes of a session data handle that was obtained previously by callingmysql_get_ssl_session_data(). It frees the memory that was allocated. Never call this function for any session that is still in use or if the handle was not obtained withmysql_get_ssl_session_data(). The call you make tomysql_get_ssl_session_data() should match exactly the call tomysql_free_ssl_session_data().
Do not attempt to use the session data handle after freeing it.
Return Values
FALSE
on success. TRUE
on failure.
Errors
None.