~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/item_strfunc.h

  • Committer: Stewart Smith
  • Date: 2008-07-13 08:00:16 UTC
  • mto: (210.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 211.
  • Revision ID: stewart@flamingspork.com-20080713080016-8qtjv9ypt42azzr6
CRC32() as UDF

Show diffs side-by-side

added added

removed removed

Lines of Context:
719
719
  void fix_length_and_dec();
720
720
};
721
721
 
722
 
 
723
 
class Item_func_crc32 :public Item_int_func
724
 
{
725
 
  String value;
726
 
public:
727
 
  Item_func_crc32(Item *a) :Item_int_func(a) { unsigned_flag= 1; }
728
 
  const char *func_name() const { return "crc32"; }
729
 
  void fix_length_and_dec() { max_length=10; }
730
 
  longlong val_int();
731
 
};
732
 
 
733
722
class Item_func_uncompressed_length : public Item_int_func
734
723
{
735
724
  String value;