Menu

#34 Incorrect input value length for function SQLSetConnectAttr

pending-accepted
None
3
2012-10-08
2012-10-08
No

Problem Description:
Incorrect input value length is provided by UnixODBC to function SQLSetConnectAttr (of driver) when ANSI application uses an Unicode driver.
This bug was observed when tested on Oracle Enterprise Linux and Ubuntu 12.04 (both 64bit versions) with Mysql Connector ODBC 5.2 with UnixODBC 2.3.1 version.

How to repeat:
Run attached test program (testSQLConnectorAttr.c) on Ubuntu 12.04 (64 bit) version with Mysql odbc connector 5.2 compiled for unicode version.

Discussion

  • Hemant Dangi

    Hemant Dangi - 2012-10-08

    test program for SQLSetConnectAttr failure

     
  • Hemant Dangi

    Hemant Dangi - 2012-10-08
    • priority: 5 --> 3
    • assigned_to: nobody --> lurcher
     
  • Nick Gorham

    Nick Gorham - 2012-10-08

    Fix for this in SVN now and 2.3.2-pre tarball on the ftp site. Give it a try and let me know if it fixes the problem.

     
  • Nick Gorham

    Nick Gorham - 2012-10-08
    • status: open --> pending-accepted
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.