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

List:       mysql-odbc
Subject:    bk commit - MyODBC 3.51
From:       venu () mysql ! com
Date:       2002-03-16 1:58:35
[Download RAW message or body]

Below is the list of changes that have just been commited into a local
MyODBC 3.51 repository of 'venu'. When 'venu' does a push, they will
be propogaged to the main repository and within 24 hours after the push
into the public repository. 

For more information on how to access the public repository see
http://www.mysql.com/products/myodbc/faq.html#Development_source

ChangeSet
  1.196 02/03/15 17:58:35 venu@myvenu.com +1 -0
  results.c:
    Fix to SQLFetch when it is called after SQLFetchScroll with SQL_FETCH_FIRST

  results.c
    1.35 02/03/15 17:57:53 venu@myvenu.com +3 -0
    Fix to SQLFetch when it is called after SQLFetchScroll with SQL_FETCH_FIRST

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	venu
# Host:	myvenu.com
# Root:	/home/venu/src/myodbc-3.51

--- 1.34/results.c	Fri Feb 15 14:44:30 2002
+++ 1.35/results.c	Fri Mar 15 17:57:53 2002
@@ -642,6 +642,9 @@
   }
   else
   {
+    /* check for the previous first row fetch */
+    if(stmt->current_row == 0 && stmt->rows_found_in_set > 0)
+      mysql_data_seek(stmt->result, 1L);
     if (!(values=mysql_fetch_row(stmt->result)))
       DBUG_RETURN(SQL_NO_DATA_FOUND);
     stmt->current_row++;    /* For SQLGetStmtOption */

---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail myodbc-thread5165@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