Uploaded image for project: 'MariaDB Connector/C++'
  1. MariaDB Connector/C++
  2. CONCPP-83

STL objects should not be passed from application

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: General
    • Labels:
      None

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Lawrin Lawrin Novitsky
              Reporter:
              Lawrin Lawrin Novitsky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.