GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
mysql_session_track_get_next(3) MariaDB Connector/C mysql_session_track_get_next(3)

mysql_session_track_get_next - Retrieves the next session status change information


#include <mysql.h>
int mysql_session_track_get_next(MYSQL * mysql,
                                 enum enum_session_state_type type,
                                 const char **data,
                                 size_t *length );

    

mysql_session_track_get_next() retrieves the session status change information received from the server after a successful call to mysql_session_track_get_first(3).

mysql_session_track_get_next() needs to be called repeatedly until a non zero return value indicates end of data.

mysql - mysql handle, which was previously allocated by mysql_init(3) and connected bys mysql_real_connect(3).
type - type of information. Valid values are
SESSION_TRACK_SYSTEM_VARIABLES
SESSION_TRACK_SCHEMA
SESSION_TRACK_STATE_CHANGE
SESSION_TRACK_GTIDS (unsupported)
data - pointer to data, which must be declared as const char *
length - pointer to a size_t variable, which will contain the length of data

Zero for success, nonzero if an error occurred.

mysql_session_track_get_next() was added in Connector/C 3.0 and MariaDB Server 10.2.

mysql_session_track_get_first(3)
Version 3.2.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.