You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
Fix for CONC-351:
If an ok packet doesn't contain session state tracking information, we need to clear session state information from previous ok packet.
This commit is contained in:
@@ -2100,6 +2100,9 @@ int ma_read_ok_packet(MYSQL *mysql, uchar *pos, ulong length)
|
||||
}
|
||||
}
|
||||
}
|
||||
/* CONC-351: clear session state information */
|
||||
else if (mysql->server_capabilities & CLIENT_SESSION_TRACKING)
|
||||
ma_clear_session_state(mysql);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user