List:Internals« Previous MessageNext Message »
From:msvensson Date:May 17 2005 8:32pm
Subject:bk commit into 5.0 tree (msvensson:1.1841)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson 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.1841 05/05/17 20:32:00 msvensson@neptunus.(none) +1 -0
  Merge neptunus.(none):/home/msvensson/mysql/bug9535
  into neptunus.(none):/home/msvensson/mysql/mysql-5.0

  sql/item_strfunc.h
    1.89 05/05/17 20:31:59 msvensson@neptunus.(none) +0 -0
    Auto merged

# 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:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/mysql-5.0/RESYNC

--- 1.88/sql/item_strfunc.h	2005-05-10 10:49:48 +02:00
+++ 1.89/sql/item_strfunc.h	2005-05-17 20:31:59 +02:00
@@ -726,7 +726,12 @@
   Item_func_uuid(): Item_str_func() {}
   void fix_length_and_dec() {
     collation.set(system_charset_info);
-    max_length= UUID_LENGTH;
+    /*
+       NOTE! uuid() should be changed to use 'ascii'
+       charset when hex(), format(), md5(), etc, and implicit
+       number-to-string conversion will use 'ascii'
+    */
+    max_length= UUID_LENGTH * system_charset_info->mbmaxlen;
   }
   const char *func_name() const{ return "uuid"; }
   String *val_str(String *);
Thread
bk commit into 5.0 tree (msvensson:1.1841)msvensson17 May