[CONC-598] Callback support for session tracking Created: 2022-06-05 Updated: 2022-08-02 Resolved: 2022-08-02 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | Protocol |
| Affects Version/s: | 3.3.1 |
| Fix Version/s: | 3.3.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Currently the API functions mysql_session_track_get_first/get_next() provide access to session tracking data sent by server in it's OK packet. It would be more convenient to offer the possibility to register a callback function, which will be called if the server sends session track information to the client. Callback function:
Registering the callback function:
|