[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql-odbc
Subject:    Re: MyODBC and unixODBC SQLExtendedFetch Problem
From:       Nick Gorham <nick () lurcher ! org>
Date:       2000-01-06 15:24:50
[Download RAW message or body]

cipo wrote:

> Hello,
> Nick Gorham wrote:
> 
> > "Matthew J. Dean" wrote:
> > 
> > > I am having a problem with the MyODBC driver.  I am using unixODBC.  I have \
> > > installed and MySQL 
> > > 3.23.8 and MyODBC 2.50.28 on Red Hat 6.1.  I can INSERT, UPDATE, and DELETE \
> > > using the driver but 
> > > I cannot SELECT anything.  When I try something like "select * from test" with \
> > > isql or a C program,
> > 
> > I have found that unixODBC+MyODBC-2.50.28+MySQL-3.23.7-alpha works fine.
> 
> Yep, but the function mysql_data_seek() called in SQLExtendedFetch is declared \
> different in MyODBC-2.50.28's mysql.h and MySQL-3.23.7-alpha's mysql.h.
> MyODBC-2.50.28
> mysql_data_seek(MYSQL_RES *result,unsigned int offset);
> *************
> MySQL-3.23.7-alpha
> mysql_data_seek(MYSQL_RES *result, unsigned long long offset);            \
>                 (u_longlong)
> ******************
> On some systems (e.g. Slackware7-i386) unsigned int may be 4 byte long, unsigned \
> long long may be 8 byte long, and offset-- in body of mysql_data_seek \
> (MySQL->client->libmysql.c) fail. 
> -cipo

Yes I have just discovered that .28 does not work properly because of the extended \
fetch problem. Does anyone know if there is going to be a fix for this (and the \
configure problem) ? In the meantime .27 works fine.

--
Nick Gorham,  nick@lurcher.org
Found in a sig...
     In this world without borders or fences
     Who needs Windows or Gates?




---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail myodbc-thread1027@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail myodbc-unsubscribe@lists.mysql.com instead.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic