List:Internals« Previous MessageNext Message »
From:Sergey Petrunia Date:April 1 2005 9:05am
Subject:bk commit into 4.1 tree (sergefp:1.2173)
View as plain text  
Below is the list of changes that have just been committed into a local
4.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
  1.2173 05/04/01 11:05:17 sergefp@stripped +1 -0
  Better comment

  sql/sql_select.cc
    1.392 05/04/01 11:05:14 sergefp@stripped +3 -2
    Better comment

# 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:	newbox.mylan
# Root:	/home/psergey/mysql-4.1-look100

--- 1.391/sql/sql_select.cc	2005-03-30 23:11:05 +04:00
+++ 1.392/sql/sql_select.cc	2005-04-01 11:05:14 +04:00
@@ -7179,8 +7179,9 @@
           /*
             We'll use ref access method on key new_ref_key. In general case 
             the index search tuple for new_ref_key will be different (e.g.
-            when one of the indexes only covers prefix of the field, see
-            BUG#9213 in group_by.test).
+            when one index is defined as (part1, part2, ...) and another as
+            (part1, part2(N), ...) and the WHERE clause contains 
+            "part1 = const1 AND part2=const2". 
             So we build tab->ref from scratch here.
           */
           KEYUSE *keyuse= tab->keyuse;
Thread
bk commit into 4.1 tree (sergefp:1.2173)Sergey Petrunia1 Apr