MariaDB Connector/ODBC 2.0.19 Changelog

You are viewing an old version of this article. View the current version here.

Note: This page describes features in the source repository for MariaDB Connector/ODBC. There are currently no official packages or binaries available for download which contain the version of the driver described here. If you want to try out any of the new features described here you will need to get and compile the code yourself.

For the highlights of this release, see the release notes.

The revision number links will take you to the revision's page on GitHub. On GitHub you can view more details of the revision and view diffs of the code modified in that revision.

  • Revision #d42d88f 2019-05-27 18:06:30 +0200
    • Merge of latest 3.0 changes(3.0.7-3.0.9) into 2.0
  • Revision #832360f 2019-05-02 20:21:24 +0200
  • Revision #38e4205 2019-04-26 00:12:16 +0200
  • Revision #1e633f8 2019-04-09 00:47:36 +0200
    • ODBC-238 Added FORCETLS connection string option
  • Revision #9d1d94b 2019-04-08 15:30:40 +0200
    • ODBC-239 Changed mysql_options calls as it's deprecated
  • Revision #3b39fe0 2019-04-04 19:28:45 +0200
    • Version bump -> 3.0.9
  • Revision #031e0ac 2019-03-23 16:30:52 +0100
    • Making sure SSL options are not empty strings.
  • Revision #fb0ac79 2019-03-21 23:18:47 +0100
    • DBC-232 The fix and the testcase
  • Revision #172c399 2019-03-21 15:36:41 +0100
    • ODBC-228 Added connection string option TLSVERSION
  • Revision #21864d5 2019-03-19 22:13:05 +0100
    • ODBC-229 Added option for reading section in my.cnf
  • Revision #1aad919 2019-03-18 14:57:46 +0100
    • ODBC-234 The fix only - not new tests needed
  • Revision #553c71f 2019-03-17 23:25:49 +0100
  • Revision #5165a90 2019-03-14 21:20:01 +0100
    • The fix of the build in travis with latest C/C release
  • Revision #35f9e5d 2019-03-13 20:55:57 +0100
  • Revision #8d22a84 2019-02-28 23:41:21 +0100
  • Revision #aaba291 2019-01-24 15:54:55 +0100
    • Fix of error made in tests framework by previos commit
  • Revision #646803f 2019-01-23 21:28:59 +0100
  • Revision #7b463c1 2018-12-20 16:42:02 -0700
    • ODBC-207 Fix multi-statement param realloc.
      Example use case:
      Prepare the following SQL statement:
      "INSERT INTO tbl (a,b) VALUES (?,?); SELECT 1 FROM tbl WHERE c = ?"
      First execution of prepared statement will work, second execution will segfault or cause memory corruption.
  • Revision #99a8ac0 2019-01-03 19:15:48 +0100
    • Merge branch 'master' into ODBC-3.0
  • Revision #5d5ec8e 2018-10-17 12:39:33 +0100
    • Add SQL_OUTER_JOINS support to SQLGetInfo
      This is an older attribute that is largely superseded by the newer SQL_OJ_CAPABILITIES attribute but some software checks it first and only uses SQL_OJ_CAPABILITIES to get more details if SQL_OUTER_JOINS says they are supported.
  • Revision #5916978 2019-01-02 13:31:26 +0100
    • Updating libmariadb to the 3.0.8 release tag
  • Revision #cb5b7ce 2018-12-10 18:16:41 +0100
    • ODBC-205 The patch moves string to date/time types conversion from C/C on C/ODBC side to better meet ODBC requirements.
  • Revision #20e0a50 2018-12-02 22:31:37 +0100
    • ODBC-203 The fix and the testcase.
      The problem occurred only with data fetched as SQL_C_WCHAR. That happened because for statement handles after 1st one, there wasn't STMT_ATTR_UPDATE_MAX_LENGTH attribute set, and getting data as a widestring depends on max_length.
  • Revision #f1e0cd2 2018-11-30 01:16:37 +0100
    • ODBC-204 SQLGetData did not return empty wide string
  • Revision #92699ab 2018-11-28 01:33:13 +0100
    • odbc*.ini files were generated in CMAKE_SOURCE_DIR, instead of CMAKE_BINARY_DIR. That probably is not right, and they have to be along with tests binaries
  • Revision #07381cc 2018-11-16 12:06:49 +0100
    • The new logo in README.md
  • Revision #3eed852 2018-11-13 00:01:24 +0100
    • The fix of one compilation warning and of the memory leak introduced by one of fixes in this release
  • Revision #a94af40 2018-11-09 01:07:26 +0100
    • ODBC-43, ODBC-198 and ODBC-199 fixes These are all date/time types related issues. Correct errors, fractional part, type conversions. ODBC-43(overflow errors detection and reporting) was partly done earlier. ODBC-198 is mostly fix in C/C, but added similar changes to similar function in c/odbc, and added the testcase.
  • Revision #ae8467a 2018-11-05 23:44:43 +0100
    • ODBC-194 and ODBC-197 - fixes and testcases Connector would not return NULL for 0000-00-00 datetime values in case of SQLGetData call, while doing that in SQLFetch. Also it would not do that in case of empty string conversion to date/time types. If time field fetched as timestamp type, fractional part is set to 0. The patch makes SQLFetch and SQLGetData to use the same function to copy data to application buffers and process erroneous values.
  • Revision #351c1aa 2018-10-31 15:13:35 +0100
    • ODBC-192 The fix and the testcase + ODBC-194 test The problem was incorrect buffer address calculation for the TIMESTAMP type in case of row-based columns binding. That caused the error in ADO, and could cause a crash. Some issues were fixed along the way. Like caring of the case when value buffer is not provided for the field, or if Indicator and StrLen (for the column) have different buffers.
  • Revision #1e3184f 2018-10-18 00:52:16 +0200
    • ODBC-188 The fix and testcases The main issue was incorrect processing of the connect string with NULL-separated key=value pairs. But also there were found and fixed many issues with ConfigDSN use. Like no dialogs/message boxes should be showed if the parent window handle isn't provided. Extended dsn_test to test ConfigDSN more thoroughly in the interactive mode.
  • Revision #63fcf15 2018-10-13 00:03:03 +0200
    • ODBC-186 Improved the SQLProcedureColumns testcase It would fail if connection charset was not a single-byte
  • Revision #9ed4a7a 2018-10-10 00:43:37 +0200
    • ODBC-190 Removing C/C auth plugins from packages
  • Revision #bc32db6 2018-10-03 00:41:59 +0200
    • ODBC-70 Last part. Caring of 0-date in the string Enforcing of the constraint on date/time values in case they are passed as a string. Enhanced the testcase for ODBC-70 Fixed calculation of the SQL type from the concise type - it didn't consider ODBCv3 types.
  • Revision #d49df3d 2018-10-01 14:31:21 +0200
    • ODBC-152 The fix and the testcase The fix has been accidentally lost in previous commit. In case if SQL_DATA_TYPE value was fetched in the bound buffer, the truncation error would occur. The fix is casting the column in the query to SIGNED type
  • Revision #fa081fb 2018-09-20 15:58:05 +0200
    • ODBC-186 The fix and testcases This is fixes several issues with SQLColumns and SQLProcedureColumns, as they share good part of SQL queries. Most of issues are rather minor.
  • Revision #a9e55d1 2018-09-18 17:58:38 +0200
    • Change requested in ODBC-152 - SQL_DATA_TYPE value casted to SIGNED in SQLColumns query. Otherwise its type(returned by server) is MEDIUM_BLOB. Even though at the moment it's not quite clear what is the problem, the change looks reasonable.
  • Revision #bfb78c0 2018-09-13 17:48:26 +0200
    • ODBC-169 The fix and the testcase. If data was fetched using SQLGetData, with batches of SELECTS that would fail like described int the bug - empty values or even the program crash. The reason was that in such case one of structures involved in the data fetching was not reset on move to the new resultset. Also the patch fixes SQLRowsCount for batches of upserts or other statements generating affected rows count
  • Revision #79efd0e 2018-09-12 11:34:19 +0200
    • ODBC-182 The fix and the testcase If SQL_TIME field was bound as SQL_C_TIMESTAMP, and the day field was not zero, the inserted time value would be different from the value in time fields of the parameter(server would add total number of hours in those days to the time). The patch makes connector to copy only time fields for the parameter. Also, the patch enforces time and date validity checks for such parameters, as the specs require.
  • Revision #79efd0e 2018-09-12 11:34:19 +0200
  • Revision #548db71 2018-09-11 20:17:54 +0200
    • ODBC-181 The fix + the testcase The crash or error could be caused by error in the (client side) query parsing in case of a dash followed by a string containing newline character and semicolon
  • Revision #21f200a 2018-09-10 14:41:08 +0200
    • Version bump -> 2.0.19

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.