Update of /cvsroot/monetdb/clients/src/odbc/samples
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28954
Modified Files:
odbcsample1.c
Log Message:
Use SQLFetchScroll in one instance so that it also gets tried.
Index: odbcsample1.c
===================================================================
RCS file: /cvsroot/monetdb/clients/src/odbc/samples/odbcsample1.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- odbcsample1.c 20 Feb 2007 10:48:08 -0000 1.3
+++ odbcsample1.c 24 May 2007 15:55:21 -0000 1.4
@@ -284,7 +284,7 @@
/* Alternate fetching an even and an odd entry. The
end result should be that we get all entries in the
correct order. */
- ret = SQLFetch(stmt);
+ ret = SQLFetchScroll(stmt, SQL_FETCH_NEXT, 0);
if (ret == SQL_NO_DATA)
break;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins