Bug 460293

Summary: SQLDriverConnect fails - hwnd=0, completionFlag = SQL_DRIVER_COMPLETE
Product: Red Hat Enterprise Linux 5 Reporter: Adam Stokes <astokes>
Component: mysql-connector-odbcAssignee: Tom Lane <tgl>
Status: CLOSED ERRATA QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.4CC: hhorak, patrickm, rlerch, sghosh, syeghiay, tao
Target Milestone: rcKeywords: Rebase
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
mysql-connector-odbc has been updated to version 3.51.26r1127 to fix various bugs. This is a minor version update that is not expected to create any compatibility issues.
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 09:46:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch none

Description Adam Stokes 2008-08-27 12:45:18 UTC
Description of problem:
SQLDriverConnect fails - hwnd=0, completionFlag = SQL_DRIVER_COMPLETE
http://bugs.mysql.com/bug.php?id=33645

Version-Release number of selected component (if applicable):
mysql-connector-odbc-3.51.x

How reproducible:
100 %

Steps to Reproduce:
From bugzilla @ http://bugs.mysql.com/bug.php?id=33645

SQLDriverConnect( hdbc, 
                           0 /*hwnd*/,
                           ( SQLCHAR * ) szConnect, 
                           ( SQLSMALLINT ) strlen( szConnect ),
                           ( SQLCHAR * ) szConnStrOut, 
						   cbConnStrOutMax, 
						   &cbConnStrOut,
                           SQL_DRIVER_COMPLETE );

  
Actual results:
an exception is thrown (setup cannot be opened)

Expected results:
no exception

Additional info:
http://bugs.mysql.com/bug.php?id=33645

Comment 1 Adam Stokes 2008-08-27 12:46:24 UTC
Created attachment 315088 [details]
patch

Comment 21 Tom Lane 2009-04-08 23:30:41 UTC
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
mysql-connector-odbc has been updated to version 3.51.26r1127 to fix various bugs.  This is a minor version update that is not expected to create any compatibility issues.

Comment 26 errata-xmlrpc 2009-09-02 09:46:38 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1290.html