~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to sql/item_strfunc.h

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
842
842
  String *val_str(String *) ZLIB_DEPENDED_FUNCTION
843
843
};
844
844
 
845
 
#define UUID_LENGTH (8+1+4+1+4+1+4+1+12)
 
845
 
846
846
class Item_func_uuid: public Item_str_func
847
847
{
848
848
public:
854
854
       charset when hex(), format(), md5(), etc, and implicit
855
855
       number-to-string conversion will use 'ascii'
856
856
    */
857
 
    max_length= UUID_LENGTH * system_charset_info->mbmaxlen;
 
857
    max_length= MY_UUID_STRING_LENGTH * system_charset_info->mbmaxlen;
858
858
  }
859
859
  const char *func_name() const{ return "uuid"; }
860
860
  String *val_str(String *);