Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-239

Switch from deprecated mysql_options to mysql_optionsv

Details

    Description

      The MariaDB Connector/C documentation notes that mysql_options is deprecated and will be removed at some point:

      This function is deprecated as of MariaDB Connector/C 3.0 and will be removed in future releases. It's preferable to use mysql_optionsv.

      https://mariadb.com/kb/en/library/mysql_options/

      It looks like mysql_options is still used quite a bit in C/ODBC in the MADB_DbcConnectDB function:

      https://github.com/MariaDB/mariadb-connector-odbc/blob/3.1.0/ma_connection.c#L579

      The replacement is mysql_optionsv:

      https://mariadb.com/kb/en/library/mysql_optionsv/

      Attachments

        Issue Links

          Activity

            I am not sure how can we deprecate it, if mysql does not going to deprecate it, it seems. But the fix has been pushed as 9d1d94b

            Lawrin Lawrin Novitsky added a comment - I am not sure how can we deprecate it, if mysql does not going to deprecate it, it seems. But the fix has been pushed as 9d1d94b

            People

              Lawrin Lawrin Novitsky
              GeoffMontee Geoff Montee (Inactive)
              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.