Connector/ODBC 2.0.19 Changelog

The most recent Stable (GA) release of MariaDB Connector/ODBC is:MariaDB Connector/ODBC 3.2.5

Downloadarrow-up-rightRelease NotesChangelogAbout MariaDB Connector/ODBCarrow-up-right

Release date: 5 Jun 2019

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 GitHubarrow-up-right you can view more details of the revision and view diffs of the code modified in that revision.

  • Revision #d42d88farrow-up-right 2019-05-27 18:06:30 +0200

    • Merge of latest 3.0 changes(3.0.7-3.0.9) into 2.0

  • Revision #832360farrow-up-right 2019-05-02 20:21:24 +0200

    • ODBC-211arrow-up-right The fix and the testcase

      • Also fixed precision, octet length, and display size calculation in case of unsigned decimal field and/or 0 scale.

  • Revision #38e4205arrow-up-right 2019-04-26 00:12:16 +0200

  • Revision #1e633f8arrow-up-right 2019-04-09 00:47:36 +0200

    • ODBC-238arrow-up-right Added FORCETLS connection string option

      • This is for implementation of the C/C MYSQL_OPT_SSL_ENFORCE option, which enables forcing TLS use

  • Revision #9d1d94barrow-up-right 2019-04-08 15:30:40 +0200

  • Revision #3b39fe0arrow-up-right 2019-04-04 19:28:45 +0200

    • Version bump -> 3.0.9

  • Revision #031e0acarrow-up-right 2019-03-23 16:30:52 +0100

    • Making sure SSL options are not empty strings and not white spaces only. That shouldn't normally happen, as the connector trims dsn field values, and does not store empty strings. But better to be safe.

  • Revision #fb0ac79arrow-up-right 2019-03-21 23:18:47 +0100

    • ODBC-232arrow-up-right The fix and the testcase

      • This bug boils down to a crash in SQLGetData if an application unbinds result buffers after execution, i.e. calls SQLFreeStmt(SQL_UNBIND). That happened because SQL_UNBIND freed columns metadata along with freeing bind buffers.

  • Revision #172c399arrow-up-right 2019-03-21 15:36:41 +0100

    • ODBC-228arrow-up-right Added connection string option TLSVERSION

      • This option can be used to enforce MARIADB_OPT_TLS_VERSION C/C option to limit allowed for the connection TLS versions.

      • The value can be either a bitmap, where bit 1 corresponds to TLSv1.1, bit 2 - TLSv1.2, and 4 - to TLSv1.3, or it can be set as combination of string names TLSv1.1, TLSv1.2 and TLSv1.3.

      • Checkbox group has been added to the Windows setup dialog. If no checkbox is checked there means all versions are allowed.

      • The testcase tests only correct connection string parsing/storing

      • The file win/ma_odbc_setup.h has been moved to 'dsn' directory, as there was already the file with the same name, that wasn't used. 'win' directory has been removed, since that was the only file there

  • Revision #21864d5arrow-up-right 2019-03-19 22:13:05 +0100

    • ODBC-229arrow-up-right Added option for reading section in my.cnf

      • Connection string option is USE_MYCNF. OPTIONS bit 65536 may also be used.

      • The checkbox for the option has been added to Windows setup dialog. Removed some garbage from rc file along the way. Test of the option has been added to connstring.

  • Revision #1aad919arrow-up-right 2019-03-18 14:57:46 +0100

  • Revision #553c71farrow-up-right 2019-03-17 23:25:49 +0100

    • ODBC-231arrow-up-right The fix and the testcase.

      • The bug is actually in SSIS. It binds column size as signed int, but the value for LONGTEXT is max unsigned int. Connector was returning truncation error on the row fetch. And that is probably not quite right. The patch makes connector not to return truncation error in case if truncation is caused solely by sign-ness of the field/buffer.

  • Revision #5165a90arrow-up-right 2019-03-14 21:20:01 +0100

    • The fix of the build in travis with latest C/C release

  • Revision #35f9e5darrow-up-right 2019-03-13 20:55:57 +0100

    • ODBC-219arrow-up-right The fix and the testcase.

      • This bug boils down to not reporting correct columns count in case of a query with multiple results(stored procedure or statements batch) if the result with affected rows count followed a resultset.

      • In case of stored procedure(like in the bug report) this is always the case, if SP returns a result set.

      • The bug occured becaule IRD was not reset in the SQLMoreResults in the described case.

      • Fixed mistake in previous commit(for ODBC-216arrow-up-right) - lost statement handler reinitialization in one place.

  • Revision #8d22a84arrow-up-right 2019-02-28 23:41:21 +0100

    • ODBC-216arrow-up-right The fix and the testcase.

      • Connector returned wrong value for SQL_DESC_FIXED_PREC_SCALE. In the report it was going about bigint type, but in fact for many other types SQL_TRUE was returned, where it shouldn't be. Since definition of SQL_DESC_FIXED_PREC_SCALE is not clear, we checked what SQL Server driver returns for different types for reference. Only for (small)money types SQL_TRUE is returned. For types that has counterparts in MariaDB, SQL_FALSE is always returned. Thus, SQL_FALSE has been made a default value for all types for the SQL_DESC_FIXED_PREC_SCALE field.

  • Revision #aaba291arrow-up-right 2019-01-24 15:54:55 +0100

    • Fix of error made in tests framework by previous commit

  • Revision #646803farrow-up-right 2019-01-23 21:28:59 +0100

    • ODBC-213arrow-up-right The fix and the testcase

      • SQL_DESC_PARAMETER_TYPE was returned in wrong type - integer instead of small integer. Also, application could get it not only from Ipd descriptor, but also from Ird.

  • Revision #7b463c1arrow-up-right 2018-12-20 16:42:02 -0700

    • ODBC-207arrow-up-right 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 #99a8ac0arrow-up-right 2019-01-03 19:15:48 +0100

  • Revision #5d5ec8earrow-up-right 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 #5916978arrow-up-right 2019-01-02 13:31:26 +0100

    • Updating libmariadb to the 3.0.8 release tag

  • Revision #cb5b7cearrow-up-right 2018-12-10 18:16:41 +0100

    • ODBC-205arrow-up-right The patch moves string to date/time types conversion from C/C on C/ODBC side to better meet ODBC requirements.

  • Revision #20e0a50arrow-up-right 2018-12-02 22:31:37 +0100

    • ODBC-203arrow-up-right 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 #f1e0cd2arrow-up-right 2018-11-30 01:16:37 +0100

  • Revision #92699abarrow-up-right 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 #07381ccarrow-up-right 2018-11-16 12:06:49 +0100

    • The new logo in README.md

  • Revision #3eed852arrow-up-right 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 #a94af40arrow-up-right 2018-11-09 01:07:26 +0100

  • Revision #ae8467aarrow-up-right 2018-11-05 23:44:43 +0100

    • ODBC-194arrow-up-right and ODBC-197arrow-up-right - 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 #351c1aaarrow-up-right 2018-10-31 15:13:35 +0100

    • ODBC-192arrow-up-right The fix and the testcase + ODBC-194arrow-up-right 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 #1e3184farrow-up-right 2018-10-18 00:52:16 +0200

    • ODBC-188arrow-up-right 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 #63fcf15arrow-up-right 2018-10-13 00:03:03 +0200

    • ODBC-186arrow-up-right Improved the SQLProcedureColumns testcase It would fail if connection charset was not a single-byte

  • Revision #9ed4a7aarrow-up-right 2018-10-10 00:43:37 +0200

  • Revision #bc32db6arrow-up-right 2018-10-03 00:41:59 +0200

    • ODBC-70arrow-up-right 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-70arrow-up-right Fixed calculation of the SQL type from the concise type - it didn't consider ODBCv3 types.

  • Revision #d49df3darrow-up-right 2018-10-01 14:31:21 +0200

    • ODBC-152arrow-up-right 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 #fa081fbarrow-up-right 2018-09-20 15:58:05 +0200

    • ODBC-186arrow-up-right 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 #a9e55d1arrow-up-right 2018-09-18 17:58:38 +0200

    • Change requested in ODBC-152arrow-up-right - 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 #bfb78c0arrow-up-right 2018-09-13 17:48:26 +0200

    • ODBC-169arrow-up-right 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 #79efd0earrow-up-right 2018-09-12 11:34:19 +0200

    • ODBC-182arrow-up-right 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 #79efd0earrow-up-right 2018-09-12 11:34:19 +0200

  • Revision #548db71arrow-up-right 2018-09-11 20:17:54 +0200

    • ODBC-181arrow-up-right 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 #21f200aarrow-up-right 2018-09-10 14:41:08 +0200

    • Version bump -> 2.0.19

This page is: Copyright © 2025 MariaDB. All rights reserved.

spinner

Last updated

Was this helpful?