[CONCPP-83] STL objects should not be passed from application Created: 2021-05-10  Updated: 2021-07-21  Resolved: 2021-07-21

Status: Closed
Project: MariaDB Connector/C++
Component/s: General
Affects Version/s: 1.0.0
Fix Version/s: 1.1.0

Type: Bug Priority: Critical
Reporter: Lawrin Novitsky Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
PartOf
includes CONCPP-85 SQLString constructor from std::strin... Closed

 Description   

This can cause all sorts of disasters on Windows (at least) debug and release are mixed, but also theoretically possible if different VS versions are used for build of the connector and application(not confirmed atm).
Currently connector has std::map in connect() methods, std::istream in set/getBlob(std::istream is probably safe to use, though)
These classes(that should substitute aforementioned use of STL classes) implementations should hide from application underlying classes implementations in the way similar to how SQLString hides use of std::string


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