I have an application that works with EasySoft's OOB driver but not with
MyODBC. I have compiled version 2.50.39 under RedHat 7.2 and I think there
is a problem in the code.

In cursor.c on line 217 there is a test to see if irow is being passed
correctly. I think the test is wrong. I fetch one record at a time so irow
can only be 1. As best as I can tell the test is checking against which row
in the whole result set we are currently on. This is not the test that
should be done as best as I can figure. Although I did select 6 records from
my datasource I am only reading one at a time. If I want to delete the
current record I want to delete the only record in my "fetch set" which is
record 1, not the specific record in the "result set", which in my case is
record 6.

Looking at the code for SQLSetPos it looks like irow is taken as a row in
the "result set" not in the "fetched set". I do not think that this is
correct.


-- 
Jim Dickenson
mailto:[EMAIL PROTECTED]

Computers for Marketing Corporation
http://www.cfmc.com/

eFax: 1-419-791-8924



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to