mysql_session_track_get_next() - mysql/mysql.h
This function fetches session state-change information received
from the server, following that retrieved by
mysql_session_track_get_first().
It was added in MySQL 5.7.4.mysql_session_track_get_first()mysql_session_track_get_first()Following a successful call to
mysql_session_track_get_first(),
call
mysql_session_track_get_next()
repeatedly until it returns nonzero to indicate no more
information is available. The calling sequence for
mysql_session_track_get_next()
is similar to that for
mysql_session_track_get_first().
For more information and an example that demonstrates both
functions, see Section 25.8.7.65, “mysql_session_track_get_first()”.mysql_session_track_get_first()mysql_session_track_get_first()mysql_session_track_get_next()mysql_session_track_get_next()mysql_session_track_get_next()mysql_session_track_get_next()mysql_session_track_get_first()mysql_session_track_get_first()Section 25.8.7.65, “mysql_session_track_get_first()”
Syntax
int mysql_session_track_get_next(MYSQL *mysql, enum
enum_session_state_type type, const char **data, size_t
*length)
Example
Output / Return Value
Zero for success. Nonzero if an error occurred.
Limitations
Alternatives / See Also
Reference