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

CONCPP doesn't accept all parameters in the URL

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Cannot Reproduce
    • N/A
    • N/A
    • General
    • None
    • CentOS Linux 7.7

    Description

      Parameters passed in the URL when connecting are ignore, for example, this does not connect with TLS:

      sql::Driver* driver = sql::mariadb::get_driver_instance();
      sql::Properties p;
      sql::Connection *conn;
       
      conn = driver->connect("tcp://host?user=usr&password=pwd&useTls=true", p);
      

      Whereas this does connect with TLS.

      sql::Driver* driver = sql::mariadb::get_driver_instance();
      sql::Properties p;
      sql::Connection *conn;
       
      p["useTls"] = "true";
       
      conn = driver->connect("tcp://host?user=usr&password=pwd", p);
      

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            karlsson Anders Karlsson
            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.