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


5.4.68 mysql_session_track_get_next()

intmysql_session_track_get_next(MYSQL *mysql,                             enum enum_session_state_type type,                             const char **data,                             size_t *length)

Description

This function fetches additional session state-change information received from the server, following that retrieved bymysql_session_track_get_first(). The parameters formysql_session_track_get_next() are the same as formysql_session_track_get_first().

Following a successful call tomysql_session_track_get_first(), callmysql_session_track_get_next() repeatedly until it returns nonzero to indicate no more information is available. The calling sequence formysql_session_track_get_next() is similar to that formysql_session_track_get_first(). For more information and an example that demonstrates both functions, seeSection 5.4.67, “mysql_session_track_get_first()”.

Return Values

Zero for success. Nonzero if an error occurred.

Errors

None.