SQLSetPos - second try
am 12.01.2006 15:11:10 von Ludek Finstrle--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hello,
I found bug in SQLSetPos patch I posted few days ago. There is attached
new one.
Please review and comment
Luf
--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="psqlodbc-setpos.diff"
diff -c psqlodbc.orig\results.c psqlodbc\results.c
*** psqlodbc.orig\results.c Fri Dec 09 02:55:48 2005
--- psqlodbc\results.c Thu Jan 12 16:10:44 2006
***************
*** 3109,3114 ****
--- 3109,3115 ----
return SQL_ERROR;
}
s.start_row = s.end_row = s.irow - 1;
+ s.stmt->currTuple = s.stmt->rowset_start + irow - 1;
}
num_cols = QR_NumResultCols(s.res);
--fUYQa+Pmc3FrFX/N
Content-Type: text/plain
Content-Disposition: inline
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend
--fUYQa+Pmc3FrFX/N--