Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
mariadb-connector-c: 3.0.2
crash at: mthd_my_read_query_result (mysql=0x10a8d70) at ***/connector-c-prefix/src/connector-c/libmariadb/mariadb_lib.c:2048
Description
SESSION_TRACK_STATE_CHANGE should be treated differently from other trackers
https://mariadb.com/kb/en/library/mysql_session_track_get_first/
SESSION_TRACK_STATE_CHANGE:
length encode int: "1" (changed) or "0" (unchanged).
int<1> : boolean info;
SESSION_TRACK_SYSTEM_VARIABLES:
length encode int: length;
length encode string: key;
length encode string: value;
attach with my candidate fix