~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_strfunc.h

Initial submit of code and tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
    call
221
221
  */
222
222
  virtual const char *fully_qualified_func_name() const = 0;
 
223
  bool check_vcol_func_processor(uchar *int_arg __attribute__((unused)))
 
224
  { return true; }
223
225
};
224
226
 
225
227
 
484
486
    maybe_null=1;
485
487
    max_length=MAX_BLOB_WIDTH;
486
488
  }
 
489
  bool check_vcol_func_processor(uchar *int_arg __attribute__((unused)))
 
490
  { return true; }
487
491
};
488
492
 
489
493
 
614
618
  const char *func_name() const { return "weight_string"; }
615
619
  String *val_str(String *);
616
620
  void fix_length_and_dec();
 
621
  /*
 
622
    TODO: Currently this Item is not allowed for virtual columns
 
623
    only due to a bug in generating virtual column value.
 
624
  */
 
625
  bool check_vcol_func_processor(uchar *int_arg __attribute__((unused)))
 
626
  { return true; }
617
627
};
618
628
 
619
629
class Item_func_uncompressed_length : public Item_int_func
668
678
  }
669
679
  const char *func_name() const{ return "uuid"; }
670
680
  String *val_str(String *);
 
681
  bool check_vcol_func_processor(uchar *int_arg __attribute__((unused)))
 
682
  { return true; }
671
683
};
672
684