List:Internals« Previous MessageNext Message »
From:konstantin Date:June 4 2005 10:37am
Subject:bk commit into 5.0 tree (konstantin:1.1914)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of kostja. When kostja does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1914 05/06/04 12:37:10 konstantin@stripped +1 -0
  Add missing STMT_ATTR_PREFETCH_ROWS to mysql_stmt_attr_get

  libmysql/libmysql.c
    1.216 05/06/04 12:37:04 konstantin@stripped +5 -2
    Add missing STMT_ATTR_PREFETCH_ROWS to mysql_stmt_attr_get

# 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:	konstantin
# Host:	dragonfly.local
# Root:	/opt/local/work/mysql-5.0-root

--- 1.215/libmysql/libmysql.c	2005-05-16 18:47:59 +04:00
+++ 1.216/libmysql/libmysql.c	2005-06-04 12:37:04 +04:00
@@ -2809,11 +2809,14 @@
 {
   switch (attr_type) {
   case STMT_ATTR_UPDATE_MAX_LENGTH:
-    *(unsigned long *) value= stmt->update_max_length;
+    *(ulong*) value= stmt->update_max_length;
     break;
   case STMT_ATTR_CURSOR_TYPE:
-    *(unsigned long *) value= stmt->flags;
+    *(ulong*) value= stmt->flags;
       break;
+  case STMT_ATTR_PREFETCH_ROWS:
+    *(ulong*) value= stmt->prefetch_rows;
+    break;
   default:
     return TRUE;
   }
Thread
bk commit into 5.0 tree (konstantin:1.1914)konstantin4 Jun