~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/item_strfunc.h

MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
  Item_str_func(Item *a,Item *b,Item *c,Item *d) :Item_func(a,b,c,d) {decimals=NOT_FIXED_DEC; }
31
31
  Item_str_func(Item *a,Item *b,Item *c,Item *d, Item* e) :Item_func(a,b,c,d,e) {decimals=NOT_FIXED_DEC; }
32
32
  Item_str_func(List<Item> &list) :Item_func(list) {decimals=NOT_FIXED_DEC; }
33
 
  longlong val_int();
 
33
  int64_t val_int();
34
34
  double val_real();
35
35
  my_decimal *val_decimal(my_decimal *);
36
36
  enum Item_result result_type () const { return STRING_RESULT; }
413
413
public:
414
414
  Item_func_elt(List<Item> &list) :Item_str_func(list) {}
415
415
  double val_real();
416
 
  longlong val_int();
 
416
  int64_t val_int();
417
417
  String *val_str(String *str);
418
418
  void fix_length_and_dec();
419
419
  const char *func_name() const { return "elt"; }
739
739
  Item_func_crc32(Item *a) :Item_int_func(a) { unsigned_flag= 1; }
740
740
  const char *func_name() const { return "crc32"; }
741
741
  void fix_length_and_dec() { max_length=10; }
742
 
  longlong val_int();
 
742
  int64_t val_int();
743
743
};
744
744
 
745
745
class Item_func_uncompressed_length : public Item_int_func
749
749
  Item_func_uncompressed_length(Item *a):Item_int_func(a){}
750
750
  const char *func_name() const{return "uncompressed_length";}
751
751
  void fix_length_and_dec() { max_length=10; }
752
 
  longlong val_int();
 
752
  int64_t val_int();
753
753
};
754
754
 
755
755
#ifdef HAVE_COMPRESS