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

STL objects should not be passed from application

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • General
    • 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

              Lawrin Lawrin Novitsky
              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.