[ODBC-250] Operations with Dynamic Lists are not thread-safe, and need to be guarded with mutexes Created: 2019-05-17  Updated: 2019-05-17  Resolved: 2019-05-17

Status: Closed
Project: MariaDB Connector/ODBC
Component/s: General
Affects Version/s: None
Fix Version/s: 3.1.2

Type: Bug Priority: Major
Reporter: Lawrin Novitsky Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None


 Description   

To implement functionality required by ODBC specs, handles have lists of other handles. For example, (explicit) descriptors have list of statement handles they are used in. That is needed to reset appropriate descriptors in those statements to use default implicit descriptors. And also to remove references to statements when statement handles is free-ed. Also db handle has lists of allocated statements and descriptors. Operations with those lists may cause threaded applications to crash, if not guarded


Generated at Thu Feb 08 03:27:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.