Bug #84277 Include SESSION_TRACK_GTIDS
| Submitted: | 20 Dec 2016 12:40 | Modified: | 27 Jul 2019 8:03 |
|---|---|---|---|
| Reporter: | Daniël van Eeden | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Connector / C | Severity: | S3 (Non-critical) |
| Version: | 6.1.6 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[20 Dec 2016 13:00]
MySQL Verification Team
Hello Daniël, Thank you for the report. Thanks, Umesh
[20 Dec 2016 13:23]
Daniël van Eeden
This might be fixed in an upcoming version... From https://dev.mysql.com/doc/relnotes/connector-c/en/news-6-1-9.html "Connector/C now includes support for the server GTID session tracker, introduced in MySQL 5.7.6. This tracker is exposed through the session_track_gtids system variable. (Bug #21040741)"
[15 Mar 2017 10:39]
Rafal Somla
Right, this has been fixed in 6.1.9.
[27 Jul 2019 8:03]
MySQL Verification Team
From base bug, https://dev.mysql.com/doc/relnotes/connector-c/en/news-6-1-9.html *** PDUBOIS paul.dubois Thu Nov 24 2016 00:02:36 GMT+0530 (IST)*** Noted in 6.1.9 changelog. Connector/C now includes support for the server GTID session tracker, introduced in MySQL 5.7.6. This tracker is exposed through the session_track_gtids system variable.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: Connector/C only has 3 members in the enum_session_state_type, in 5.7.17 there are 6 members. One of them is SESSION_TRACK_GTIDS. Connector/C 6.1.6: enum enum_session_state_type { SESSION_TRACK_SYSTEM_VARIABLES, /* Session system variables */ SESSION_TRACK_SCHEMA, /* Current schema */ SESSION_TRACK_STATE_CHANGE /* track session state changes */ }; MySQL 5.7.17: enum enum_session_state_type { SESSION_TRACK_SYSTEM_VARIABLES, /* Session system variables */ SESSION_TRACK_SCHEMA, /* Current schema */ SESSION_TRACK_STATE_CHANGE, /* track session state changes */ SESSION_TRACK_GTIDS, SESSION_TRACK_TRANSACTION_CHARACTERISTICS, /* Transaction chistics */ SESSION_TRACK_TRANSACTION_STATE /* Transaction state */ }; How to repeat: Compare header files Suggested fix: Update Connector/C