Documentation Home
MySQL 8.3 C API Developer Guide
Download this Manual
PDF (US Ltr) - 1.3Mb
PDF (A4) - 1.3Mb


MySQL 8.3 C API Developer Guide  /  ...  /  mysql_free_ssl_session_data()

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 calling mysql_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 with mysql_get_ssl_session_data(). The call you make to mysql_get_ssl_session_data() should match exactly the call to mysql_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.