MySQL Forums
Forum List  »  Connector/C++

SQLPrimarykey in 64 bit gives wrong values in linux
Posted by: Bijaya Kumar Sahu
Date: May 24, 2009 11:45PM

In x86_64 GNU/Linux machine i installed mysql-5.1.34-linux-x86_64-glibc23,
mysql-connector-odbc-5.1.5-linux-x86-64bit and unixOdbc as unixODBC-2.2.14.tar.gz.

I have created table as

create table t1(f1 int unique,f2 int,primary key(f2));

The odbc driver function SQLPrimarykey does not gives correct primary field name.

Again if the table is like create table t1(f1 int unique,f2 int);

then dbc driver function SQLPrimarykey driver function gives f1 as primary key.

Can someone tell me is it a bug or i have chosen wrong package or wrong way


bijaya

Options: ReplyQuote


Subject
Views
Written By
Posted
SQLPrimarykey in 64 bit gives wrong values in linux
3533
May 24, 2009 11:45PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.