~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/item_strfunc.h

Merge for stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
  bool fix_fields(THD *thd, Item **ref);
39
39
};
40
40
 
41
 
class Item_func_md5 :public Item_str_func
42
 
{
43
 
  String tmp_value;
44
 
public:
45
 
  Item_func_md5(Item *a) :Item_str_func(a)
46
 
  {
47
 
    collation.set(&my_charset_bin);
48
 
  }
49
 
  String *val_str(String *);
50
 
  void fix_length_and_dec();
51
 
  const char *func_name() const { return "md5"; }
52
 
};
53
41
 
54
42
class Item_func_aes_encrypt :public Item_str_func
55
43
{
731
719
  void fix_length_and_dec();
732
720
};
733
721
 
734
 
 
735
 
class Item_func_crc32 :public Item_int_func
736
 
{
737
 
  String value;
738
 
public:
739
 
  Item_func_crc32(Item *a) :Item_int_func(a) { unsigned_flag= 1; }
740
 
  const char *func_name() const { return "crc32"; }
741
 
  void fix_length_and_dec() { max_length=10; }
742
 
  int64_t val_int();
743
 
};
744
 
 
745
722
class Item_func_uncompressed_length : public Item_int_func
746
723
{
747
724
  String value;