~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_strfunc.h

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
class Item_str_conv :public Item_str_func
104
104
{
105
105
protected:
106
 
  uint multiply;
 
106
  uint32_t multiply;
107
107
  my_charset_conv_case converter;
108
108
  String tmp_value;
109
109
public:
531
531
    conv_charset= cs;
532
532
    if (cache_if_const && args[0]->const_item())
533
533
    {
534
 
      uint errors= 0;
 
534
      uint32_t errors= 0;
535
535
      String tmp, *str= args[0]->val_str(&tmp);
536
536
      if (!str || str_value.copy(str->ptr(), str->length(),
537
537
                                 str->charset(), conv_charset, &errors))
610
610
class Item_func_weight_string :public Item_str_func
611
611
{
612
612
  String tmp_value;
613
 
  uint flags;
614
 
  uint nweights;
 
613
  uint32_t flags;
 
614
  uint32_t nweights;
615
615
public:
616
 
  Item_func_weight_string(Item *a, uint nweights_arg, uint flags_arg)
 
616
  Item_func_weight_string(Item *a, uint32_t nweights_arg, uint32_t flags_arg)
617
617
  :Item_str_func(a) { nweights= nweights_arg; flags= flags_arg; }
618
618
  const char *func_name() const { return "weight_string"; }
619
619
  String *val_str(String *);