[ODBC-239] Switch from deprecated mysql_options to mysql_optionsv Created: 2019-04-04  Updated: 2019-04-08  Resolved: 2019-04-08

Status: Closed
Project: MariaDB Connector/ODBC
Component/s: General
Affects Version/s: 3.1.0, 3.0.8
Fix Version/s: 2.0.19, 3.0.9, 3.1.1

Type: Task Priority: Major
Reporter: Geoff Montee (Inactive) Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to ODBC-228 Add parameter that corresponds to MAR... Closed
relates to ODBC-241 Add parameter that corresponds to MYS... Closed
relates to ODBC-238 Add parameter that corresponds to MYS... Closed
relates to ODBC-240 SSLFP and SSLFPLIST parameters appear... Closed
relates to ODBC-242 Add parameter that corresponds to MAR... Open

 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/



 Comments   
Comment by Lawrin Novitsky [ 2019-04-08 ]

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

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