List of bugs fixed

This page contains a listing of bugs fixed in each release, starting with Microsoft ODBC Driver 17 for SQL Server.

Bug fixes in the Microsoft ODBC Driver 17.7 for SQL Server

  • Fix character encoding of VARIANT columns in BCP NATIVE mode
  • Fix setting of SQL_ATTR_PARAMS_PROCESSED_PTR under specific conditions
  • Fix SQLDescribeParam in FMTONLY mode for statements containing comments
  • Fix an issue with federated authentication when using Okta
  • Fix excessive memory usage on multi-processor systems
  • Fix Azure AD authentication for some variants of Azure SQL DB

Bug fixes in the Microsoft ODBC Driver 17.6 for SQL Server

  • Fix ADAL error when authenticating with a federated account (Windows)
  • Fix an issue where the driver becomes unresponsive when a timeout occurs during an asynchronous notification operation
  • Fix driver reference count upon upgrade in Alpine Linux
  • Fix libc6 dependency version for Ubuntu
  • Add missing defines to Linux/Mac msodbcsql.h

Bug fixes in the Microsoft ODBC Driver for SQL Server (Alpine Linux only)

  • Fix a crash when using Always Encrypted with secure enclaves on Alpine Linux

Bug fixes in the Microsoft ODBC Driver 17.5.2 for SQL Server

  • Added msodbcsql.h to Alpine Linux package

Bug fixes in the Microsoft ODBC Driver 17.5 for SQL Server

  • Fix AKV CMK metadata hash computation on Linux/macOS
  • Fix error when loading OpenSSL 1.0.0
  • Fix conversion issues when using ISO-8859-1 and ISO-8859-2 codepages
  • Fix internal library name on macOS to include version number
  • Fix setting of null indicator when separate length and indicator bindings are used

Bug fixes in the Microsoft ODBC Driver 17.4.2 for SQL Server

  • Fix for an issue where process ID and application name would not be sent correctly to SQL Server (for sys.dm_exec_sessions analysis) (Linux)
  • Removed redundant dependency on libuuid (Linux)
  • Fix for a bug with sending UTF8 data to SQL Server 2019
  • Fix for a bug where locales that end in "@euro" were not being correctly detected (Linux)
  • Fix for XML data being returned incorrectly when fetched as an output parameter while using Always Encrypted

Bug fixes in the Microsoft ODBC Driver 17.4 for SQL Server

  • Fix for intermittent issue when Multiple Active Results Sets (MARS) is enabled where the driver stops responding
  • Fix connection resiliency issue when async notification is enabled where the driver stops responding
  • Fix crash when retrieving diagnostic records for multithreaded connection attempts
  • Fix 'Encryption not supported' upon reconnect after calling SQLGetInfo() with SQL_USER_NAME and SQL_DATA_SOURCE_READ_ONLY
  • Fix COM initialization error during Azure Active Directory Interactive Authentication
  • Fix SQLGetData() for multi-byte UTF8 data
  • Fix retrieving length of sql_variant columns using SQLGetData()
  • Fix importing of sql_variant columns containing more than 7992 bytes using bcp
  • Fix sending of correct encoding to server for narrow character data

Bug fixes in the Microsoft ODBC Driver 17.3 for SQL Server

  • Fixed TCP send notification event handle memory leak
  • Fixed redefinition issue of enum _SQL_FILESTREAM_DESIRED_ACCESS in msodbcsql.h header file
  • Fixed missing ACCESS_TOKEN and AUTHENTICATION related definition in msodbcsql.h header file for Linux

Bug fixes in the Microsoft ODBC Driver 17.2 for SQL Server

  • Fixed an error message about Azure Active Directory Authentication
  • Fixed encoding detection when locale environment variables are set differently
  • Fixed a crash upon disconnect with connection recovery in progress
  • Fixed detection of connection liveness
  • Fixed incorrect detection of closed sockets
  • Fixed an infinite wait when attempting to release a statement handle during failed recovery
  • Fixed incorrect uninstallation behavior when both version 13 and 17 are installed on Windows
  • Fixed decryption behavior on older Windows platform (Windows 7, 8 and Server 2012)
  • Fixed a cache issue when using ADAL Authentication on Windows
  • Fixed an issue which was locking and overwriting trace logs on Windows

Bug fixes in the Microsoft ODBC Driver 17.1 for SQL Server

  • Fixed 1-second delay when calling SQLFreeHandle with MARS enabled and connection attribute "Encrypt=yes"
  • Fixed an error 22003 crash in SQLGetData when the size of the buffer passed in is smaller then the data being retrieved (Windows)
  • Fixed truncated ADAL error messages
  • Fixed a rare bug on 32-bit Windows when converting a floating point number to an integer
  • Fixed an issue where inserting double into decimal field with Always Encrypted on would return data truncation error
  • Fixed a warning on macOS installer
  • Fixed sending incorrect state to SQL Server during Session Recovery attempt when Connection Resiliency and Connection Pooling both are enabled, causing session to be dropped by the Server

Bug fixes in the Microsoft ODBC Driver 17 for SQL Server

  • Fixed a bug where when using Kerberos authentication, bulk insert could fail with "access denied" error
  • Removed workaround for a unixODBC bug present in version below 2.3.1 (driver doubled the sizes of certain buffers passed to unixODBC)
  • Fixed Connection Resiliency (reconnect) stopping to respond when using ColumnEncryption=enabled
  • Fixed DSN creation bug, where when using "Active Directory Interactive authentication" option Azure Authentication window could become unresponsive (Windows)
  • Fixed a rare crash during ODBC shutdown when asynchronous execution is enabled (happened when clearing connection handle)
  • Fixed an issue where SQL Driver caused high CPU consumption while executing long stored procedures
  • Fixed inability to retrieve data in an encrypted varbinary(max) column without conversion
  • Fixed a problem where after a null varchar(max) encrypted column is fetched using SQLGetData() on a static cursor, the following column is also nulled even if it has data
  • Fixed an issue with fetching varbinary(max) field with Always Encrypted on
  • Fixed a problem of setlocale() not working with Always Encrypted
  • Fixed an issue with SQLDescribeParam() returning error when called on XML-type stored procedure parameter with Always Encrypted on
  • Fixed escaped underscores not working in SQLTables
  • Fixed a bug where Hebrew data (varchar) is truncated when returned as wide chars on Linux
  • Fixed an issue with querying Shift-JIS encoded char/varchar from UTF-8 application
  • Fixed the bug where calling SQLGetInfo with SQL_DRIVER_NAME parameter returned Linux-style filename on macOS
  • Fixed an issue where loading Windows-1252 character data, using input files larger than 32k bytes into VARCHAR columns using the BCP utility would result in failures