Application Crashes After Upgrading To MySQL ODBC 5.3 ANSI Driver

(Doc ID 2277888.1)

Last updated on JUNE 17, 2017

Applies to:

MySQL Connectors - Version 5.3 and later
Information in this document applies to any platform.

Symptoms

On : 5.3 version, Connector/ODBC

Our product keeps crashing after upgraded to MySQL ODBC 5.3 ANSI Driver


ERROR
-----------------------
AppName 4a74-395c EXIT SQLExecDirectW with return code -1 (SQL_ERROR)
HSTMT 0x11E273B0
WCHAR * 0x15F36390 [ 51] "SELECT DISTINCT lId FROM tTaxAuth ORDER BY lId DESC"
SDWORD 51



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Start with an existing 5.2 ODBC driver (most likely Unicode)
2. Upgrade ODBC driver from MySQL ODBC 5.2a Driver to MySQL ODBC 5.3 ANSI Driver
3. Attempt to use new driver via the application

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot get accurate results or reliable use of the updated ODBC driver

Changes

Upgrade from 5.2a driver version to 5.3 Unicode driver version

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms