List:Commits« Previous MessageNext Message »
From:igor Date:June 22 2006 7:08am
Subject:bk commit into 5.0 tree (igor:1.2194)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of igor. When igor 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.2194 06/06/22 00:08:32 igor@stripped +1 -0
  Post-merge fix.

  strings/ctype-mb.c
    1.49 06/06/22 00:08:26 igor@stripped +1 -6
    Post-merge fix.

# 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:	igor
# Host:	rurik.mysql.com
# Root:	/home/igor/mysql-5.0-opt

--- 1.48/strings/ctype-mb.c	2006-06-21 19:39:06 -07:00
+++ 1.49/strings/ctype-mb.c	2006-06-22 00:08:26 -07:00
@@ -536,12 +536,7 @@
     if (*ptr == escape && ptr+1 != end)
       ptr++;                                    /* Skip escape */
     else if (*ptr == w_one || *ptr == w_many)   /* '_' and '%' in SQL */
-    {
-      charlen= my_charpos(cs, min_org, min_str, res_length/cs->mbmaxlen);
-      
-      if (charlen < (uint) (min_str - min_org))
-        min_str= min_org + charlen;
-      
+    {      
       /*
         Calculate length of keys:
         'a\0\0... is the smallest possible string when we have space expand
Thread
bk commit into 5.0 tree (igor:1.2194)igor22 Jun