List:Commits« Previous MessageNext Message »
From:Sergey Petrunia Date:March 9 2007 10:37pm
Subject:bk commit into 5.1 tree (sergefp:1.2471)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of psergey. When psergey 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@stripped, 2007-03-10 01:37:31+03:00, sergefp@stripped +1 -0
  WL#2475: "Batched range read functions for MyISAM/InnoDb"
   - Fox compile errors on windows

  storage/innobase/row/row0sel.c@stripped, 2007-03-10 01:37:24+03:00, sergefp@stripped +3 -2
    WL#2475: "Batched range read functions for MyISAM/InnoDb"
     - Fox compile errors on windows

# 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:	sergefp
# Host:	pylon.mylan
# Root:	/home/psergey/mysql-5.2-mymrr-r55

--- 1.117/storage/innobase/row/row0sel.c	2007-03-10 01:37:40 +03:00
+++ 1.118/storage/innobase/row/row0sel.c	2007-03-10 01:37:40 +03:00
@@ -3102,9 +3102,9 @@
 	}
         if (start_field_no) {
           for (i=0; i < start_field_no; i++) {
+            register ulint offs;
 	    mysql_row_templ_t* templ;
             templ = prebuilt->mysql_template + i;
-            register ulint offs;
 
             if (templ->mysql_null_bit_mask) {
               offs= templ->mysql_null_byte_offset;
@@ -4133,11 +4133,12 @@
 idx_cond_check:
         if (prebuilt->idx_cond_func)
         {
+          int res;
           ut_ad(prebuilt->template_type != ROW_MYSQL_DUMMY_TEMPLATE);
           offsets = rec_get_offsets(rec, index, offsets, ULINT_UNDEFINED, &heap);
           row_sel_store_mysql_rec(buf, prebuilt, rec,
                                   offsets, 0, prebuilt->n_index_fields);
-          int res= prebuilt->idx_cond_func(prebuilt->idx_cond_func_arg);
+          res= prebuilt->idx_cond_func(prebuilt->idx_cond_func_arg);
           if (res == 0)
             goto next_rec;
           if (res == 2)
Thread
bk commit into 5.1 tree (sergefp:1.2471)Sergey Petrunia9 Mar